mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Don't destroy project when WorkspaceView is removed
Whenever we're removing the workspaceView, we're usually destroying the project anyway.
This commit is contained in:
@@ -317,7 +317,6 @@ class WorkspaceView extends View
|
||||
# Private: Destroys everything.
|
||||
remove: ->
|
||||
editorView.remove() for editorView in @getEditorViews()
|
||||
atom.project?.destroy()
|
||||
super
|
||||
|
||||
# Private: Adds the destroyed item's uri to the list of items to reopen.
|
||||
|
||||
Reference in New Issue
Block a user