Skip to content

Commit 30ab145

Browse files
committed
Removes unnecessary delete statement in Pool (fixes mysqljs#563)
1 parent d75ff3c commit 30ab145

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Pool.js

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ Pool.prototype.end = function (cb) {
105105

106106
if (err || ++closedConnections >= this._allConnections.length) {
107107
calledBack = true;
108-
delete endCB;
109108
return cb(err);
110109
}
111110
}.bind(this);

0 commit comments

Comments
 (0)