fix(ios): memory leak after using 'showModal' passing any Page as parameter (#9939)

This commit is contained in:
Douglas Machado
2022-07-09 09:02:45 -07:00
committed by Nathan Walker
parent fc77c92e11
commit 4db4e4af27
+6
View File
@@ -365,6 +365,12 @@ export class Page extends PageBase {
return this.viewController.view;
}
disposeNativeView() {
this.viewController = null;
this._ios = null;
super.disposeNativeView();
}
// @ts-ignore
get ios(): UIViewController {
return this._ios;