-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Unable to Close Window and Exit Program on Application Shutdown #12106
Comments
I tested it several times. It happens frequently, but sometimes not. |
Happens to me too. The order discrepency is not a big deal I think because the After some testing, A "hotfix" could be to somehow wait a bit before telling winit to actually close the window (like, putting |
This happens on macOS too. Also, it doesn't matter how the application is closed - it hangs if the window is closed, if the |
I can no longer reproduce on 65e62ba on Windows 11 :) Closing as fixed. |
Bevy version
Bevy version: 0.13.0
[Optional] Relevant system information
Operating System: Windows 11
What you did
What went wrong
I encountered an issue where, upon attempting to close the window (either by clicking the close button or using ESC to exit the program), the window and program failed to close properly. Windows eventually displays a "Program not responding" message.
Additional information
The log messages indicate a discrepancy in the sequence of events during shutdown:
The first message suggests that no windows are open, while the second message indicates an attempt to close a window. This discrepancy may prevent the window and program from closing correctly.
Here is the full log:
The text was updated successfully, but these errors were encountered: