mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
do not send deposits confirmed message if shut down started
This commit is contained in:
parent
a0bc57c893
commit
52d74c1654
1 changed files with 1 additions and 0 deletions
|
@ -838,6 +838,7 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D
|
||||||
}
|
}
|
||||||
|
|
||||||
public void maybeSendDepositsConfirmedMessages() {
|
public void maybeSendDepositsConfirmedMessages() {
|
||||||
|
if (trade.isShutDownStarted()) return;
|
||||||
synchronized (trade) {
|
synchronized (trade) {
|
||||||
if (!trade.isInitialized()) return; // skip if shutting down
|
if (!trade.isInitialized()) return; // skip if shutting down
|
||||||
if (trade.getProcessModel().isDepositsConfirmedMessagesDelivered()) return; // skip if already delivered
|
if (trade.getProcessModel().isDepositsConfirmedMessagesDelivered()) return; // skip if already delivered
|
||||||
|
|
Loading…
Reference in a new issue