diff --git a/tns-core-modules/ui/styling/style-scope.ts b/tns-core-modules/ui/styling/style-scope.ts index 8e0df7dd14..f6ae530e77 100644 --- a/tns-core-modules/ui/styling/style-scope.ts +++ b/tns-core-modules/ui/styling/style-scope.ts @@ -377,6 +377,9 @@ export class CssState { public onUnloaded(): void { this.unsubscribeFromDynamicUpdates(); + this.view = undefined; + this._matchInvalid = false; + this._match = undefined; } @profile