Destroy the model when PaneContainerView is removed

This commit is contained in:
Nathan Sobo
2014-01-13 15:45:50 -07:00
parent 22fe04fb27
commit 54dd5ea28e

View File

@@ -354,6 +354,7 @@ class WorkspaceView extends View
# Private: Destroys everything.
remove: ->
@model.destroy()
editorView.remove() for editorView in @getEditorViews()
super