mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +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.nativeView = null;
|
||||
this._androidView = null;
|
||||
this._iosView = null;
|
||||
if (isAndroid) {
|
||||
this.nativeView = null;
|
||||
this._androidView = null;
|
||||
}
|
||||
|
||||
// this._iosView = null;
|
||||
|
||||
this._context = null;
|
||||
traceNotifyEvent(this, "_onContextChanged");
|
||||
|
Reference in New Issue
Block a user