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:
Nathan Sobo
2013-12-12 16:34:10 -08:00
parent a564cc66f6
commit 4c817baf4c

View File

@@ -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.