Don't save window state when closing spec windows

This commit is contained in:
Max Brunsfeld
2015-05-11 09:20:07 -07:00
parent 8ddfa8690b
commit 6026c78d9e

View File

@@ -104,7 +104,7 @@ class AtomApplication
if process.platform in ['win32', 'linux']
app.quit()
return
@saveState()
@saveState() unless window.isSpec
# Public: Adds the {AtomWindow} to the global window list.
addWindow: (window) ->