mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add shutdown info popup
This commit is contained in:
parent
42c225f14f
commit
7ab763102c
@ -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…
Reference in New Issue
Block a user