Skip to content

Commit

Permalink
Tweaks. All tests pass :)
Browse files Browse the repository at this point in the history
  • Loading branch information
SubiyaCryolite committed Nov 1, 2017
1 parent 33c16b4 commit ff11085
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ open class OnPreSaveEventArguments(jdsDb: IJdsDb, connection: Connection, altern

fun closeBatches() {
connection.autoCommit = true
statements.values.filterNot { it.connection.isClosed }.forEach { it.close() }
}
}

0 comments on commit ff11085

Please sign in to comment.