Skip to content

Commit 3d4d2e8

Browse files
committed
fix hs_err
1 parent 7a18d0a commit 3d4d2e8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎src/main/java/org/tron/common/application/ApplicationImpl.java‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,12 @@ private void closeRevokingStore() {
126126
}
127127

128128
private void closeAllStore() {
129-
if (dbManager.getRevokingStore().getClass() == SnapshotManager.class) {
130-
((SnapshotManager) dbManager.getRevokingStore()).getDbs().forEach(IRevokingDB::close);
131-
} else {
132-
dbManager.closeAllStore();
133-
}
129+
// if (dbManager.getRevokingStore().getClass() == SnapshotManager.class) {
130+
// ((SnapshotManager) dbManager.getRevokingStore()).getDbs().forEach(IRevokingDB::close);
131+
// } else {
132+
// dbManager.closeAllStore();
133+
// }
134+
dbManager.closeAllStore();
134135
}
135136

136137
}

0 commit comments

Comments
 (0)