mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +08:00
fix(window-manager): Stop bindng window state to config when quitting
This commit is contained in:
parent
9097d10e45
commit
5a42bc7ac2
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ class WindowManager
|
|||
@ensurePrimaryWindowOnscreen()
|
||||
|
||||
ensurePrimaryWindowOnscreen: ->
|
||||
return if global.application.quitting
|
||||
hasToken = @config.get('nylas.token')
|
||||
if hasToken
|
||||
@showMainWindow()
|
||||
|
|
Loading…
Reference in a new issue