remove trade after cleared and shut down

This commit is contained in:
woodser 2024-02-25 12:29:10 -05:00
parent 2c0275e336
commit 98ffb5f34c

View file

@ -1311,13 +1311,13 @@ public class TradeManager implements PersistedDataHost, DecryptedDirectMessageLi
if (trade instanceof MakerTrade && openOffer.isPresent()) { if (trade instanceof MakerTrade && openOffer.isPresent()) {
openOfferManager.unreserveOpenOffer(openOffer.get()); openOfferManager.unreserveOpenOffer(openOffer.get());
} }
// remove trade from list
removeTrade(trade);
} }
// clear and shut down trade // clear and shut down trade
trade.clearAndShutDown(); trade.clearAndShutDown();
// remove trade from list
removeTrade(trade);
} }
private void listenForCleanup(Trade trade) { private void listenForCleanup(Trade trade) {