Skip to content

Fix runOnMainThread to postAtFrontOfQueue when already on the main thread#7657

Merged
yogevbd merged 1 commit into
masterfrom
fixRunOnMainThread
Dec 21, 2022
Merged

Fix runOnMainThread to postAtFrontOfQueue when already on the main thread#7657
yogevbd merged 1 commit into
masterfrom
fixRunOnMainThread

Conversation

@yogevbd

@yogevbd yogevbd commented Dec 20, 2022

Copy link
Copy Markdown
Collaborator

This fixes a crash happening in the Wix app, look like there's a race condition where the activity is destroyed and navigator.onHostPause()gets called too late. Most of times this shouldn't be delayed as it is called on the main thread.

@yogevbd yogevbd merged commit 47363ef into master Dec 21, 2022
@yogevbd yogevbd deleted the fixRunOnMainThread branch December 21, 2022 11:39
SudoPlz pushed a commit that referenced this pull request May 30, 2023
…read (#7657)

This fixes a crash happening in the Wix app, look like there's a race condition where the activity is destroyed and `navigator.onHostPause()`gets called too late. Most of times this shouldn't be delayed as it is called on the main thread.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant