mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-02 13:27:55 +08:00
fix(atom-window): The worker window should also auto-reload on crash
Neverclose applies to both the main window and the worker window T1640
This commit is contained in:
parent
e094261470
commit
9b0ea76681
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class AtomWindow
|
|||
@browserWindow.webContents.on 'crashed', =>
|
||||
global.application.exit(100) if @exitWhenDone
|
||||
|
||||
if @mainWindow
|
||||
if @neverClose
|
||||
@browserWindow.restart()
|
||||
else
|
||||
dialog = require 'dialog'
|
||||
|
|
Loading…
Reference in a new issue