Skip to content

Commit

Permalink
fixed shutdown function in mysql resource
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguardev committed Sep 19, 2012
1 parent cf03895 commit f67c794
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/resources/mysql.js
Expand Up @@ -21,8 +21,7 @@ Mysql.prototype.bootstrap = function(cb)

Mysql.prototype.shutdown = function(cb)
{
this.object.end();
cb();
this.object.end(cb);
}

Mysql.prototype.disconnectHandler = function(connection)
Expand Down

0 comments on commit f67c794

Please sign in to comment.