pool: graceful disconnect - minor fix
This commit is contained in:
parent
06d25a9007
commit
e651338ff3
@ -1156,7 +1156,9 @@ Pool.prototype.handleClose = co(function* handleClose(peer, connected) {
|
|||||||
if (!outbound)
|
if (!outbound)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(!this.disconnecting)
|
if(this.disconnecting)
|
||||||
|
return;
|
||||||
|
|
||||||
this.refill();
|
this.refill();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user