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

Web: fix ControlFlow::WaitUntil to never wake up **before** the given time #3133

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

daxpedda
Copy link
Member

@daxpedda daxpedda commented Oct 7, 2023

Unfortunately we were passing full milliseconds before to the corresponding Web APIs, e.g. 0.5 ms would get truncated to 0 ms, which then would wake up the event loop immediately.

@daxpedda daxpedda added this to the Version 0.29.0 milestone Oct 7, 2023
@daxpedda daxpedda merged commit fac6110 into rust-windowing:master Oct 9, 2023
kchibisov pushed a commit to kchibisov/winit that referenced this pull request Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant