mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 16:19:17 +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.emit 'did-destroy'
|
||||||
@emitter.dispose()
|
@emitter.dispose()
|
||||||
item.destroy?() for item in @items.slice()
|
item.destroy?() for item in @items.slice()
|
||||||
@container.didDestroyPane(pane: this)
|
@container?.didDestroyPane(pane: this)
|
||||||
|
|
||||||
###
|
###
|
||||||
Section: Splitting
|
Section: Splitting
|
||||||
|
Loading…
Reference in New Issue
Block a user