We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf0c4bf + 0632c4e commit be37756Copy full SHA for be37756
lib/index.js
@@ -22,6 +22,7 @@ PG.prototype.end = function() {
22
var self = this;
23
Object.keys(self.pools.all).forEach(function(key) {
24
var pool = self.pools.all[key];
25
+ delete self.pools.all[key];
26
pool.drain(function() {
27
pool.destroyAllNow();
28
});
0 commit comments