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

@ -10,7 +10,7 @@ var menu = null;
// Quit when all windows are closed.
app.on('window-all-closed', function() {
app.terminate();
app.quit();
});
app.on('open-url', function(event, url) {