mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
nativeView not cleared in iOS (#3912)
This commit is contained in:
@ -715,9 +715,12 @@ export abstract class ViewBase extends Observable implements ViewBaseDefinition
|
|||||||
|
|
||||||
this.disposeNativeView();
|
this.disposeNativeView();
|
||||||
|
|
||||||
|
if (isAndroid) {
|
||||||
this.nativeView = null;
|
this.nativeView = null;
|
||||||
this._androidView = null;
|
this._androidView = null;
|
||||||
this._iosView = null;
|
}
|
||||||
|
|
||||||
|
// this._iosView = null;
|
||||||
|
|
||||||
this._context = null;
|
this._context = null;
|
||||||
traceNotifyEvent(this, "_onContextChanged");
|
traceNotifyEvent(this, "_onContextChanged");
|
||||||
|
Reference in New Issue
Block a user