fix: electron error when closing app window

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-28 17:48:34 +03:00
1 parent 1d7736076c
commit 07c4d1b9d6
1 file changed
-1
-1
View File
@@ -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();
})