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