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
* 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/flutter#40281
- Loading branch information
1 parent
7ab6956
commit 8789dd4
Showing
2 changed files
with
8 additions
and
5 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