Deprecate app.terminate API.

Users should use app.quit which can shutdown the application gracefuly.
This commit is contained in:
Cheng Zhao 2014-04-10 15:08:14 +08:00
parent 5ead4f655a
commit 538bd1116d
5 changed files with 4 additions and 17 deletions

View file

@ -38,7 +38,7 @@ process.on('uncaughtException', function(error) {
});
app.on('window-all-closed', function() {
app.terminate();
app.quit();
});
app.on('ready', function() {