Add shutdown info popup

This commit is contained in:
Manfred Karrer 2016-03-11 10:22:06 +01:00
parent 42c225f14f
commit 7ab763102c

View File

@ -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();