mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 05:27:17 +00:00
Close connections in PostgresFullPrunedBlockStore. same as: b6f61e8850
This commit is contained in:
@@ -222,6 +222,7 @@ public class PostgresFullPrunedBlockStore implements FullPrunedBlockStore {
|
||||
try {
|
||||
if(!conn.getAutoCommit()) {
|
||||
conn.rollback();
|
||||
conn.close();
|
||||
}
|
||||
} catch (SQLException ex) {
|
||||
throw new RuntimeException(ex);
|
||||
|
||||
Reference in New Issue
Block a user