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:
parent
cb0d052e08
commit
b2efb0ddc2
@ -222,6 +222,7 @@ public class PostgresFullPrunedBlockStore implements FullPrunedBlockStore {
|
||||
try {
|
||||
if(!conn.getAutoCommit()) {
|
||||
conn.rollback();
|
||||
conn.close();
|
||||
}
|
||||
} catch (SQLException ex) {
|
||||
throw new RuntimeException(ex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user