fix(ios): resiliency to frame controller viewDidDisappear

This commit is contained in:
Nathan Walker
2021-09-08 16:11:49 -07:00
parent 21639e39fd
commit 6fc239dc56
+1 -1
View File
@@ -419,7 +419,7 @@ class UINavigationControllerImpl extends UINavigationController {
@profile
public viewDidDisappear(animated: boolean): void {
super.viewDidDisappear(animated);
const owner = this._owner.get?.();
const owner = this._owner?.get?.();
if (owner && owner.isLoaded && !owner.parent && !this.presentedViewController) {
owner.callUnloaded();
owner._tearDownUI(true);