Skip to content

Commit

Permalink
Close Liquibase database connection on shutdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip K. Warren committed Apr 1, 2013
1 parent fb9825f commit 423884c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ public void stop() throws Exception {
if (connection instanceof ManagedJdbcConnection) {
((ManagedJdbcConnection) connection).stop();
}
if (connection != null) {
connection.close();
}
}
}

0 comments on commit 423884c

Please sign in to comment.