Remove project and rootView from window

This commit is contained in:
Kevin Sawicki
2013-11-20 14:53:19 -08:00
parent 3fe22aa5c8
commit bc1a743b2f
2 changed files with 2 additions and 11 deletions

View File

@@ -72,8 +72,6 @@ window.unloadEditorWindow = ->
atom.rootView.remove()
atom.project.destroy()
windowEventHandler?.unsubscribe()
window.rootView = null
window.project = null
installAtomCommand = (callback) ->
commandPath = path.join(window.resourcePath, 'atom.sh')
@@ -86,9 +84,7 @@ installApmCommand = (callback) ->
window.deserializeEditorWindow = ->
atom.deserializePackageStates()
atom.deserializeProject()
window.project = atom.project
atom.deserializeRootView()
window.rootView = atom.rootView
window.onerror = ->
atom.openDevTools()