mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix: ensure we clear ios view in _tearDownUI (#9671)
This had side effects for example: https://github.com/NativeScript/NativeScript/issues/7469.
This commit is contained in:
@ -958,12 +958,9 @@ export abstract class ViewBase extends Observable implements ViewBaseDefinition
|
|||||||
|
|
||||||
this._suspendNativeUpdates(SuspendType.UISetup);
|
this._suspendNativeUpdates(SuspendType.UISetup);
|
||||||
|
|
||||||
if (global.isAndroid) {
|
this.setNativeView(null);
|
||||||
this.setNativeView(null);
|
this._androidView = null;
|
||||||
this._androidView = null;
|
this._iosView = null;
|
||||||
}
|
|
||||||
|
|
||||||
// this._iosView = null;
|
|
||||||
|
|
||||||
this._context = null;
|
this._context = null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user