From 98ffb5f34cd52c042716a9e48eba5495ae786649 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 25 Feb 2024 12:29:10 -0500 Subject: [PATCH] remove trade after cleared and shut down --- core/src/main/java/haveno/core/trade/TradeManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/haveno/core/trade/TradeManager.java b/core/src/main/java/haveno/core/trade/TradeManager.java index 3973dc02e6..5af9cc076b 100644 --- a/core/src/main/java/haveno/core/trade/TradeManager.java +++ b/core/src/main/java/haveno/core/trade/TradeManager.java @@ -1311,13 +1311,13 @@ public class TradeManager implements PersistedDataHost, DecryptedDirectMessageLi if (trade instanceof MakerTrade && openOffer.isPresent()) { openOfferManager.unreserveOpenOffer(openOffer.get()); } - - // remove trade from list - removeTrade(trade); } // clear and shut down trade trade.clearAndShutDown(); + + // remove trade from list + removeTrade(trade); } private void listenForCleanup(Trade trade) {