From 07c4d1b9d6f0f1fc5e15d560e87bad18648d2380 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 28 Jul 2020 17:48:34 +0300 Subject: [PATCH] fix: electron error when closing app window Signed-off-by: Roman --- src/main/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 3da443ae8b..f608490ed1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -83,6 +83,5 @@ app.on("will-quit", async (event) => { event.preventDefault(); // To allow mixpanel sending to be executed if (proxyServer) proxyServer.close() if (clusterManager) clusterManager.stop() - if (windowManager) windowManager.destroy() app.exit(); })