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