From c64f0fc75e5b57659f7e2c55174c1cae4f3a6a76 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 30 Jan 2018 10:55:49 -0800 Subject: [PATCH] app.quit() -> app.exit(), immediate app close on second instance (#2017) --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index f154bad46..8996dc419 100644 --- a/main.js +++ b/main.js @@ -83,7 +83,7 @@ if (!process.mas) { if (shouldQuit) { console.log('quitting; we are the second instance'); - app.quit(); + app.exit(); } }