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