1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix: electron error when closing app window

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2020-07-28 17:48:34 +03:00
parent 1d7736076c
commit 07c4d1b9d6

View File

@ -83,6 +83,5 @@ app.on("will-quit", async (event) => {
event.preventDefault(); // To allow mixpanel sending to be executed event.preventDefault(); // To allow mixpanel sending to be executed
if (proxyServer) proxyServer.close() if (proxyServer) proxyServer.close()
if (clusterManager) clusterManager.stop() if (clusterManager) clusterManager.stop()
if (windowManager) windowManager.destroy()
app.exit(); app.exit();
}) })