projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16ea1f
)
Fix app.exit compatibility.
author
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Apr 2014 09:07:39 +0000
(17:07 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Apr 2014 09:08:22 +0000
(17:08 +0800)
atom/browser/api/lib/app.coffee
patch
|
blob
|
history
diff --git
a/atom/browser/api/lib/app.coffee
b/atom/browser/api/lib/app.coffee
index
5762890
..
af4d11e
100644
(file)
--- a/
atom/browser/api/lib/app.coffee
+++ b/
atom/browser/api/lib/app.coffee
@@
-29,7
+29,8
@@
if process.platform is 'darwin'
# Be compatible with old API.
app.once 'ready', -> app.emit 'finish-launching'
-app.terminate = app.exit = app.quit
+app.terminate = app.quit
+app.exit = process.exit
# Only one App object pemitted.
module.exports = app