From 5ebba786d50077365b55c193df2d570bf5498b6e Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 11 May 2016 18:30:39 +0200 Subject: On duplicate torrent add, don't emit 'infoHash' Private 'infoHash' event allows client.add to check for duplicate torrents and destroy them before the normal 'infoHash' event is emitted. Prevents user applications from needing to deal with duplicate 'infoHash' events. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b85b50..5d09b84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # WebTorrent Version History +## UNRELEASED + +- When a duplicate torrent is added, don't emit the 'infoHash' event after 'error'. The 'error' event should be the last event. + ## v0.93.1 - 2016-05-08 - Remove `path-exists` dependency. -- cgit v1.2.3