diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2017-02-03 03:30:48 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2017-02-03 03:30:48 +0300 |
commit | f28138da19ee3b478467973d2cd52451be835e85 (patch) | |
tree | d55e0be505069dde9ff1ab738b180c08e6f93389 /lib | |
parent | 9e09ac98fe3750486ab80593eea65e2da656154d (diff) |
Don't print debug log after torrent is destroyed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index ab2dcda..7ff039e 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -756,7 +756,6 @@ Torrent.prototype.addPeer = function (peer) { Torrent.prototype._addPeer = function (peer) { var self = this if (self.destroyed) { - self._debug('ignoring peer: torrent is destroyed') if (typeof peer !== 'string') peer.destroy() return null } |