Revert comment tweak
This commit is contained in:
parent
3e5caf7e54
commit
ea1479a651
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ process.on 'uncaughtException', (error) ->
|
||||||
message = "Uncaught Exception:\n#{stack}"
|
message = "Uncaught Exception:\n#{stack}"
|
||||||
dialog.showErrorBox 'A JavaScript error occurred in the main process', message
|
dialog.showErrorBox 'A JavaScript error occurred in the main process', message
|
||||||
|
|
||||||
# Emit a process 'exit' event on app quit.
|
# Emit 'exit' event on quit.
|
||||||
{app} = require 'electron'
|
{app} = require 'electron'
|
||||||
app.on 'quit', (event, exitCode) ->
|
app.on 'quit', (event, exitCode) ->
|
||||||
process.emit 'exit', exitCode
|
process.emit 'exit', exitCode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue