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

Android: workaround PollEvent::Wake not being received #5729

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

ogoffart
Copy link
Member

We observe, in issue #5699 that the call to AndroidAppWaker::wake doesn't always result in a PollEvent::Wake event. So to work around that, always process event from any event we receive so that any timeout or input event would make sure event gets processed.

Closes #5699

Note: I have no idea why we don't receive the event. the bug is not fixed as there may not be any other event for a long time, but it makes it less likely to cause problems.

We observe, in issue #5699 that the call to `AndroidAppWaker::wake`
doesn't always result in a `PollEvent::Wake` event.
So to work around that, always process event from any event we recieve
so that any timeout or input event would make sure event gets processed.

Closes #5699
@ogoffart ogoffart merged commit fae774c into master Aug 7, 2024
34 checks passed
@ogoffart ogoffart deleted the olivier/fix-5699 branch August 7, 2024 12:53
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.

upgrade_in_event_loop not always processed
2 participants