Skip to content
1 change: 1 addition & 0 deletions src/core/Layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export class Layout {
this.destroyed = true;

this.invalidateRoot();
onChildRemoved(this);
this.yoga.free();
this.target.off('added', this._onChildAdded, this);
this.target.off('removed', this._onChildRemoved, this);
Expand Down
Loading