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

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() {
};
Transaction.prototype.cleanup = function() {
var res = this.sequelize.connectionManager.releaseConnection(this.connection);
this.connection.uuid = undefined;
return this.sequelize.connectionManager.releaseConnection(this.connection);
return res;
};
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!