Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): prevent error during tear down #5947

Merged
merged 2 commits into from
Jun 14, 2018
Merged

Conversation

MartoYankov
Copy link
Contributor

It's a bit of a blind fix since I can't reproduce this issue. The scenario should be with racing between navigation and the activity destroy/recreate (with the native back button or don't keep activities and restore). The idea is to tear down the native UI in current/navigating entries while still caching the new entry, so that the app continues from the same entry once the activity is recreated.

Examining the latest changes here shows that the bool flags were moved to the end of the block. The current entry flag was moved without the guard.

Fixes #5614

@MartoYankov MartoYankov self-assigned this Jun 13, 2018
@ghost ghost added the in progress label Jun 13, 2018
@vakrilov vakrilov merged commit b0afd3a into master Jun 14, 2018
@vakrilov vakrilov deleted the myankov/fix-recreated branch June 14, 2018 07:01
@ghost ghost removed the in progress label Jun 14, 2018
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android production crash: Cannot set property 'recreated' of undefined
3 participants