Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Many fixes; all leaks fixed #762

Merged
merged 12 commits into from Apr 22, 2016

Fix one more peer leak

  • Loading branch information
feross committed Apr 21, 2016
commit 597d1ce10ce20ae33b0118d85cfdbc8cbabcb32a
@@ -611,6 +611,7 @@ Torrent.prototype.addPeer = function (peer) {

if (host && self.client.blocked.contains(host)) {
self._debug('ignoring peer: blocked %s', peer)
if (typeof peer === 'string') peer.destroy()
self.emit('blockedPeer', peer)
return false
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.