mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-28 17:34:11 -04:00
Fix authentication issues, store address
This commit is contained in:
parent
f8adaaed62
commit
85427d7bde
22 changed files with 553 additions and 598 deletions
|
@ -44,6 +44,7 @@ import org.reactfx.util.FxTimer;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import javax.inject.Named;
|
||||
import java.io.File;
|
||||
import java.time.Duration;
|
||||
|
@ -176,7 +177,7 @@ public class OpenOfferManager {
|
|||
shutDown(null);
|
||||
}
|
||||
|
||||
public void shutDown(Runnable completeHandler) {
|
||||
public void shutDown(@Nullable Runnable completeHandler) {
|
||||
if (timer != null)
|
||||
timer.cancel();
|
||||
|
||||
|
@ -188,7 +189,8 @@ public class OpenOfferManager {
|
|||
offerBookService.removeOfferAtShutDown(openOffer.getOffer());
|
||||
}
|
||||
|
||||
FxTimer.runLater(Duration.ofMillis(500), completeHandler::run);
|
||||
if (completeHandler != null)
|
||||
FxTimer.runLater(Duration.ofMillis(500), completeHandler::run);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue