peer: minor.
This commit is contained in:
parent
7b9eb8b4f2
commit
c085d446ab
@ -642,6 +642,7 @@ Peer.prototype.destroy = function destroy() {
|
||||
return;
|
||||
|
||||
this.destroyed = true;
|
||||
this.connected = false;
|
||||
this.socket.destroy();
|
||||
this.socket = null;
|
||||
this.emit('close');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user