mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 23:26:25 +03:00
Null guard container in Pane::destroyed
This commit is contained in:
parent
2d8d330df7
commit
8a40be8345
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user