if core is not initialized, just shutdown

pull/24/head
Zlatin Balevsky 2019-10-23 06:31:08 +01:00
parent 4e6e1b6f5b
commit 1d5b12e2d7
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ class Initialize extends AbstractLifecycleHandler {
application.shutdown()
}as Runnable)
t.start()
}
} else
application.shutdown()
tray.remove(trayIcon)
})