From 5a42bc7ac26f4629250b52f1cf780da6c24e39d7 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Tue, 14 Jul 2015 17:08:18 -0700 Subject: [PATCH] fix(window-manager): Stop bindng window state to config when quitting --- src/browser/window-manager.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/window-manager.coffee b/src/browser/window-manager.coffee index 4211de130..16ec8f37e 100644 --- a/src/browser/window-manager.coffee +++ b/src/browser/window-manager.coffee @@ -15,6 +15,7 @@ class WindowManager @ensurePrimaryWindowOnscreen() ensurePrimaryWindowOnscreen: -> + return if global.application.quitting hasToken = @config.get('nylas.token') if hasToken @showMainWindow()