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

Remove waiting period when closing #735

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Remove waiting period when closing #735

merged 1 commit into from
Apr 18, 2024

Commits on Apr 18, 2024

  1. Remove waiting period when closing

    The gracePeriod variable only decreases in the main loop while it is
    looping. But the `shouldClose = true` causes the main loop to stop
    looping. So the gracePeriod only had time to decrement once (to 59),
    at which point the while loop here in the `close()` function gets stuck.
    
    It may be the case that this looping was only necessary for the OpenGL
    renderer anyway, which is no longer an issue, so we can simplify now.
    ctrueden committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    809e7ca View commit details
    Browse the repository at this point in the history