mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Destroy the model when PaneContainerView is removed
This commit is contained in:
@@ -354,6 +354,7 @@ class WorkspaceView extends View
|
||||
|
||||
# Private: Destroys everything.
|
||||
remove: ->
|
||||
@model.destroy()
|
||||
editorView.remove() for editorView in @getEditorViews()
|
||||
super
|
||||
|
||||
|
||||
Reference in New Issue
Block a user