不要怂,就是干,撸起袖子干!

Commit 51ebeb86 by Cody Rigney

Fixes transaction not getting cleaned up with sqlite Closes #4245

1 parent e6c42a4a
Showing with 2 additions and 2 deletions
...@@ -230,9 +230,9 @@ Transaction.prototype.setIsolationLevel = function() { ...@@ -230,9 +230,9 @@ Transaction.prototype.setIsolationLevel = function() {
}; };
Transaction.prototype.cleanup = function() { Transaction.prototype.cleanup = function() {
var res = this.sequelize.connectionManager.releaseConnection(this.connection);
this.connection.uuid = undefined; this.connection.uuid = undefined;
return res;
return this.sequelize.connectionManager.releaseConnection(this.connection);
}; };
Transaction.prototype.$clearCls = function () { Transaction.prototype.$clearCls = function () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!