forked from flutter/flutter
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix continuous event polling in the GLFW event loop (flutter#12320)
* Do not pass a milliseconds::max() timeout that will overflow when converted to nanoseconds * Avoid holding the task_queue_mutex_ while calling glfwWaitEventsTimeout * Use a signed type to hold the difference between a task's timestamp and the current engine time Fixes flutter#40281
- Loading branch information
1 parent
caf1df6
commit b4d7655
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters