net: remove redundant item resolving.

This commit is contained in:
Christopher Jeffrey 2018-08-10 16:25:24 -07:00
parent acecd5ee37
commit a15b1e2d62
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -192,10 +192,6 @@ class Pool extends EventEmitter {
async close() {
assert(this.opened, 'Pool is not open.');
this.opened = false;
for (const item of this.invMap.values())
item.resolve();
return this.disconnect();
}