mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Null guard container in Pane::destroyed
This commit is contained in:
@@ -534,7 +534,7 @@ class Pane extends Model
|
||||
@emitter.emit 'did-destroy'
|
||||
@emitter.dispose()
|
||||
item.destroy?() for item in @items.slice()
|
||||
@container.didDestroyPane(pane: this)
|
||||
@container?.didDestroyPane(pane: this)
|
||||
|
||||
###
|
||||
Section: Splitting
|
||||
|
||||
Reference in New Issue
Block a user