mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-03 17:40:10 +00:00
remove trade after cleared and shut down
This commit is contained in:
parent
2c0275e336
commit
98ffb5f34c
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue