diff --git a/lib/client.js b/lib/client.js index a2c74583..08eb3115 100644 --- a/lib/client.js +++ b/lib/client.js @@ -48,7 +48,7 @@ Client.prototype.releaseConnection = function(connection) { }; // Destroy the current connection pool for the client. -Client.prototype.destroy = function() { +Client.prototype.destroy = function(callback) { var pool = this.pool; var promise = new Promise(function(resolver, rejecter) { if (!pool) resolver();