mirror of
https://github.com/atom/atom.git
synced 2026-02-17 18:11:29 -05:00
Destroy all pane models when workspace view is removed
This commit is contained in:
@@ -145,3 +145,7 @@ class Workspace extends Model
|
||||
onPaneItemDestroyed: (item) =>
|
||||
if uri = item.getUri?()
|
||||
@destroyedItemUris.push(uri)
|
||||
|
||||
# Private: Called by Model superclass when destroyed
|
||||
destroyed: ->
|
||||
@paneContainer.destroy()
|
||||
|
||||
Reference in New Issue
Block a user