Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala committed 2020-11-17 16:21:39 +02:00
1 parent 87eaf8e91b
commit b9878938e5
1 file changed
+2 -2
+2 -2
View File
@@ -9,8 +9,8 @@ export function exitApp() {
const windowManager = WindowManager.getInstance<WindowManager>()
const clusterManager = ClusterManager.getInstance<ClusterManager>()
appEventBus.emit({ name: "service", action: "close" })
windowManager?.hide();
clusterManager?.stop();
windowManager.hide();
clusterManager.stop();
logger.info('SERVICE:QUIT');
setTimeout(() => {
app.exit()