app.quit() -> app.exit(), immediate app close on second instance (#2017)
This commit is contained in:
parent
72b7e4ec34
commit
c64f0fc75e
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -83,7 +83,7 @@ if (!process.mas) {
|
|||
|
||||
if (shouldQuit) {
|
||||
console.log('quitting; we are the second instance');
|
||||
app.quit();
|
||||
app.exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue