mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove project and rootView from window
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user