mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Move stopPeriodicRefreshOffersTimer before processListForRepublishOffers
The periodicRefreshOffersTimer gets started at offer publishing. Before the stopPeriodicRefreshOffersTimer got overwritten by the start in offer publishing so it did not had any effect beside that we restarted it. Now we process offer publishing without delay and a stop after the call would stop the refresh timer.
This commit is contained in:
parent
83e620d462
commit
c5d0fa789b
@ -880,10 +880,10 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
||||
return;
|
||||
}
|
||||
|
||||
stopPeriodicRefreshOffersTimer();
|
||||
|
||||
List<OpenOffer> openOffersList = new ArrayList<>(openOffers.getList());
|
||||
processListForRepublishOffers(openOffersList);
|
||||
|
||||
stopPeriodicRefreshOffersTimer();
|
||||
}
|
||||
|
||||
private void processListForRepublishOffers(List<OpenOffer> list) {
|
||||
|
Loading…
Reference in New Issue
Block a user