mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Do not use deprecated app.exit API.
This commit is contained in:
@@ -440,7 +440,7 @@ class Atom extends Model
|
||||
exit: (status) ->
|
||||
app = remote.require('app')
|
||||
app.emit('will-exit')
|
||||
app.exit(status)
|
||||
remote.process.exit(status)
|
||||
|
||||
# Public: Is the current window in development mode?
|
||||
inDevMode: ->
|
||||
|
||||
Reference in New Issue
Block a user