Skip to content

Commit b0afd3a

Browse files
MartoYankovAlexander Vakrilov
authored andcommitted
fix(android): prevent error during tear down (#5947)
1 parent 5cd8a1f commit b0afd3a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tns-core-modules/ui/frame/frame.android.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,10 @@ export class Frame extends FrameBase {
261261
}
262262

263263
entry.recreated = false;
264-
current.recreated = false;
264+
265+
if (current) {
266+
current.recreated = false;
267+
}
265268
}
266269

267270
super.setCurrent(entry, isBack);

0 commit comments

Comments
 (0)