fix(window-manager): Stop bindng window state to config when quitting

This commit is contained in:
Ben Gotow 2015-07-14 17:08:18 -07:00
parent 9097d10e45
commit 5a42bc7ac2

View file

@ -15,6 +15,7 @@ class WindowManager
@ensurePrimaryWindowOnscreen()
ensurePrimaryWindowOnscreen: ->
return if global.application.quitting
hasToken = @config.get('nylas.token')
if hasToken
@showMainWindow()