Closing the window causes panic in 2D #4678
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
P-Crash
A sudden unexpected crash
S-Duplicate
This issue or PR already exists
Bevy version
Main (happens after #3575).
Operating system & version
Gentoo Linux with x11.
What you did
Run one of the 2D examples (like the breakout example), and close the window.
What you expected to happen
Game quits cleanly.
What actually happened
Additional information
3D examples seems unaffected.
When running the multiple windows example and closing one of the windows, these lines are logged, while there were no such logging before #3575. They may be related to the crash here.
Complete backtrace of the crash:
The text was updated successfully, but these errors were encountered: