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

Do not query guest version from UI thread #1949

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

JakeWharton
Copy link
Collaborator

I'm not sure how I ended up committing the previous version as I specifically was making changes specifically to avoid this, but I did. Instead, read the version once on startup when the app lifecycle is first bound and cache its value for later access on the UI thread.


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

I'm not sure how I ended up committing the previous version as I specifically was making changes specifically to avoid this, but I did. Instead, read the version once on startup when the app lifecycle is first bound and cache its value for later access on the UI thread.
Copy link
Collaborator

@dnagler dnagler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed via running Cash App locally--this fixes the crash on launch. Thanks for the quick turnaround here!

@JakeWharton JakeWharton merged commit c15b9ed into trunk Apr 9, 2024
10 checks passed
@JakeWharton JakeWharton deleted the jw.anti-hero.2024-04-09 branch April 9, 2024 22:04
@JakeWharton
Copy link
Collaborator Author

Nice. Should also fix CI problems for Android. Same root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants