mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add shutdown info popup
This commit is contained in:
parent
42c225f14f
commit
7ab763102c
1 changed files with 4 additions and 0 deletions
|
@ -310,6 +310,10 @@ public class BitsquareApp extends Application {
|
|||
|
||||
private void gracefulShutDown(ResultHandler resultHandler) {
|
||||
log.debug("gracefulShutDown");
|
||||
new Popup().headLine("Shut down in progress")
|
||||
.backgroundInfo("Shutting down application can take a few seconds.\n" +
|
||||
"Please don't interrupt that process.").closeButtonText("Ok")
|
||||
.show();
|
||||
try {
|
||||
if (injector != null) {
|
||||
injector.getInstance(ArbitratorManager.class).shutDown();
|
||||
|
|
Loading…
Add table
Reference in a new issue