From b9878938e5b670e8f28dd28b0f3a4af8ba3264b8 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Tue, 17 Nov 2020 16:21:39 +0200 Subject: [PATCH] Clean up Signed-off-by: Lauri Nevala --- src/main/exit-app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/exit-app.ts b/src/main/exit-app.ts index 147c66c344..bf73e022f3 100644 --- a/src/main/exit-app.ts +++ b/src/main/exit-app.ts @@ -9,8 +9,8 @@ export function exitApp() { const windowManager = WindowManager.getInstance() const clusterManager = ClusterManager.getInstance() appEventBus.emit({ name: "service", action: "close" }) - windowManager?.hide(); - clusterManager?.stop(); + windowManager.hide(); + clusterManager.stop(); logger.info('SERVICE:QUIT'); setTimeout(() => { app.exit()