mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-11 06:01:40 -05:00
fix init trade progress by synchronizing on notifier
This commit is contained in:
parent
777cbfdc0c
commit
6bc74d2ee8
1 changed files with 3 additions and 1 deletions
|
|
@ -1406,6 +1406,8 @@ public class TradeManager implements PersistedDataHost, DecryptedDirectMessageLi
|
|||
// TODO Remove once tradableList is refactored to a final field
|
||||
// (part of the persistence refactor PR)
|
||||
private void onTradesChanged() {
|
||||
this.numPendingTrades.set(getObservableList().size());
|
||||
synchronized (numPendingTrades) {
|
||||
numPendingTrades.set(getObservableList().size());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue