mirror of
https://github.com/atom/atom.git
synced 2026-02-02 10:45:14 -05:00
Make atom.crashMainProcess and atom.crashRenderProcess work.
This commit is contained in:
@@ -250,10 +250,10 @@ window.atom =
|
||||
throw new Error('atom.getUpdateStatus is not implemented')
|
||||
|
||||
crashMainProcess: ->
|
||||
throw new Error('atom.crashMainProcess is not implemented')
|
||||
remote.process.crash()
|
||||
|
||||
crashRenderProcess: ->
|
||||
throw new Error('atom.crashRenderProcess is not implemented')
|
||||
process.crash()
|
||||
|
||||
requireUserInitScript: ->
|
||||
userInitScriptPath = fsUtils.join(config.configDirPath, "user.coffee")
|
||||
|
||||
Reference in New Issue
Block a user