nativeView not cleared in iOS (#3912)

This commit is contained in:
Hristo Hristov
2017-03-31 11:01:04 +03:00
committed by GitHub
parent 7a1f1b2b80
commit e802206f0e

View File

@ -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");