mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-29 11:27:49 +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()
|
||||||
|
|
||||||
ensurePrimaryWindowOnscreen: ->
|
ensurePrimaryWindowOnscreen: ->
|
||||||
|
return if global.application.quitting
|
||||||
hasToken = @config.get('nylas.token')
|
hasToken = @config.get('nylas.token')
|
||||||
if hasToken
|
if hasToken
|
||||||
@showMainWindow()
|
@showMainWindow()
|
||||||
|
|
Loading…
Reference in a new issue