app.quit() -> app.exit(), immediate app close on second instance (#2017)

This commit is contained in:
Scott Nonnenberg 2018-01-30 10:55:49 -08:00 committed by GitHub
parent 72b7e4ec34
commit c64f0fc75e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ if (!process.mas) {
if (shouldQuit) {
console.log('quitting; we are the second instance');
app.quit();
app.exit();
}
}