From 52d74c1654b81f9261fe813c756c0aa17fd622b8 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 22 Apr 2023 18:22:31 -0400 Subject: [PATCH] do not send deposits confirmed message if shut down started --- core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java b/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java index dc0b2356b2..7ce45ffab7 100644 --- a/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java +++ b/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java @@ -838,6 +838,7 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D } public void maybeSendDepositsConfirmedMessages() { + if (trade.isShutDownStarted()) return; synchronized (trade) { if (!trade.isInitialized()) return; // skip if shutting down if (trade.getProcessModel().isDepositsConfirmedMessagesDelivered()) return; // skip if already delivered