mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Update common/src/main/java/bisq/common/persistence/PersistenceManager.java
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
This commit is contained in:
parent
6693a03f96
commit
a612405d9d
@ -112,8 +112,7 @@ public class PersistenceManager<T extends PersistableEnvelope> {
|
||||
AtomicInteger openInstances,
|
||||
PersistenceManager<?> persistenceManager) {
|
||||
persistenceManager.shutdown();
|
||||
openInstances.decrementAndGet();
|
||||
if (openInstances.get() == 0) {
|
||||
if (openInstances.decrementAndGet() == 0) {
|
||||
log.info("flushAllDataToDisk completed");
|
||||
UserThread.execute(completeHandler::handleResult);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user