Skip to content

Commit b0afd3a

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy