Deprecate app.terminate API.
Users should use app.quit which can shutdown the application gracefuly.
This commit is contained in:
parent
5ead4f655a
commit
538bd1116d
5 changed files with 4 additions and 17 deletions
|
@ -38,7 +38,7 @@ process.on('uncaughtException', function(error) {
|
|||
});
|
||||
|
||||
app.on('window-all-closed', function() {
|
||||
app.terminate();
|
||||
app.quit();
|
||||
});
|
||||
|
||||
app.on('ready', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue