3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Close connections in PostgresFullPrunedBlockStore. same as: b6f61e8850acabb38618baa05b4ca2edd9391a65

This commit is contained in:
freak 2014-07-22 11:51:19 -07:00 committed by Mike Hearn
parent cb0d052e08
commit b2efb0ddc2

View File

@ -222,6 +222,7 @@ public class PostgresFullPrunedBlockStore implements FullPrunedBlockStore {
try {
if(!conn.getAutoCommit()) {
conn.rollback();
conn.close();
}
} catch (SQLException ex) {
throw new RuntimeException(ex);