pool: minor.

This commit is contained in:
Christopher Jeffrey 2017-01-21 05:22:46 -08:00
parent 518a113e97
commit f67eeee936
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -3553,7 +3553,7 @@ PeerList.prototype.remove = function remove(peer) {
delete this.map[peer.hostname()];
if (peer === this.load) {
assert(this.load === peer);
assert(peer.loader);
peer.loader = false;
this.load = null;
}