ignore fault on mailbox message task after shut down

This commit is contained in:
woodser 2025-04-09 10:22:10 -04:00 committed by woodser
parent 765a32fd9f
commit 31fbf9c4e8
2 changed files with 4 additions and 0 deletions

View file

@ -109,6 +109,8 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
@Getter
private static NodeAddress myNodeAddress;
@Getter
private boolean isShutDownStarted = false;
///////////////////////////////////////////////////////////////////////////////////////////
@ -192,6 +194,7 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
private void doShutDown() {
log.info("P2PService doShutDown started");
isShutDownStarted = true;
if (p2PDataStorage != null) {
p2PDataStorage.shutDown();