Close connections in PostgresFullPrunedBlockStore. same as: b6f61e8850

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);