diff --git a/src/main-process/atom-window.coffee b/src/main-process/atom-window.coffee index 3c163ba25..9c937e4f6 100644 --- a/src/main-process/atom-window.coffee +++ b/src/main-process/atom-window.coffee @@ -150,7 +150,10 @@ class AtomWindow @browserWindow.destroy() if chosen is 0 @browserWindow.webContents.on 'crashed', => - @atomApplication.exit(100) if @headless + if @headless + console.log "Renderer process crashed, exiting" + @atomApplication.exit(100) + return @fileRecoveryService.didCrashWindow(this) chosen = dialog.showMessageBox @browserWindow,