1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-11-17 16:21:39 +02:00
parent 87eaf8e91b
commit b9878938e5

View File

@ -9,8 +9,8 @@ export function exitApp() {
const windowManager = WindowManager.getInstance<WindowManager>() const windowManager = WindowManager.getInstance<WindowManager>()
const clusterManager = ClusterManager.getInstance<ClusterManager>() const clusterManager = ClusterManager.getInstance<ClusterManager>()
appEventBus.emit({ name: "service", action: "close" }) appEventBus.emit({ name: "service", action: "close" })
windowManager?.hide(); windowManager.hide();
clusterManager?.stop(); clusterManager.stop();
logger.info('SERVICE:QUIT'); logger.info('SERVICE:QUIT');
setTimeout(() => { setTimeout(() => {
app.exit() app.exit()