Skip to content

Commit

Permalink
Merge pull request tediousjs#10 from yasen-atanasov/master
Browse files Browse the repository at this point in the history
bugfix: release() method on correct member (pool -> connectionPool)
ben-page committed Oct 29, 2014
2 parents 7b88ee9 + 8f05fac commit a3e4383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pooled-connection.js
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ function PooledConnection(connectionPool, config) {
PooledConnection.prototype = Object.create(Connection.prototype);

PooledConnection.prototype.release = function () {
this.pool.release(this);
this.connectionPool.release(this);
};

module.exports = PooledConnection;

0 comments on commit a3e4383

Please sign in to comment.