Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-04-02 07:11:20 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-04-02 07:11:20 +0300
commitf444f40db17dc3c94142abe7735da05fa8615ab0 (patch)
treec2e149706f8dab422c92a8c8b4b2618397532db6 /index.js
parente7274b4134468de8505ce90d5210f5c65ad4a07c (diff)
remove extra setMaxListener(0) calls
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.js b/index.js
index 2e7fd9e..59be529 100644
--- a/index.js
+++ b/index.js
@@ -54,7 +54,6 @@ function WebTorrent (opts) {
EventEmitter.call(self)
if (!opts) opts = {}
- if (!debug.enabled) self.setMaxListeners(0)
self.destroyed = false
self.torrentPort = opts.torrentPort || 0