Null guard container in Pane::destroyed

This commit is contained in:
Nathan Sobo 2014-12-02 11:57:32 -07:00
parent 2d8d330df7
commit 8a40be8345

View File

@ -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