mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-28 01:15:26 -04:00
avoid persisting when maybe sending deposits confirmed message
This commit is contained in:
parent
870630b381
commit
c197ffb282
3 changed files with 26 additions and 2 deletions
|
@ -413,6 +413,11 @@ public class PersistenceManager<T extends PersistableEnvelope> {
|
|||
public void requestPersistence() {
|
||||
if (flushAtShutdownCalled) {
|
||||
log.warn("We have started the shut down routine already. We ignore that requestPersistence call.");
|
||||
try {
|
||||
throw new RuntimeException("We have started the shut down routine already. We ignore that requestPersistence call.");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue