mirror of
https://github.com/atom/atom.git
synced 2026-02-18 18:34:21 -05:00
Serialize project when editor window is unloaded
This commit is contained in:
@@ -77,6 +77,7 @@ window.startConfigWindow = ->
|
||||
window.unloadEditorWindow = ->
|
||||
return if not project and not rootView
|
||||
windowState = atom.getWindowState()
|
||||
windowState.set('project', project.serialize())
|
||||
windowState.set('syntax', syntax.serialize())
|
||||
windowState.set('rootView', rootView.serialize())
|
||||
atom.deactivatePackages()
|
||||
|
||||
Reference in New Issue
Block a user