Skip to content

Commit 14e787f

Browse files
committed
fix: remove rootContent on exit
1 parent f9b1d0c commit 14e787f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: nativescript-angular/platform-common.ts

+4
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ export class NativeScriptPlatformRef extends PlatformRef {
262262
if (lastModuleRef) {
263263
lastModuleRef.destroy();
264264
}
265+
266+
if (!autoCreateFrame) {
267+
rootContent = null;
268+
}
265269
}
266270
);
267271
on(launchEvent, launchCallback);

0 commit comments

Comments
 (0)