Pipelined rendering thread uses panic for control flow #8936
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
P-Crash
A sudden unexpected crash
Bevy version
0.10
What you did
This just happens sometimes when my app exits.
What went wrong
The app prints a panic message (non-deterministically) when you close the window.
Additional information
I'm guessing the error is non-deterministic because there is a race between the render thread panicking and the app shutting down (killing the thread). But it's clear from reading this code that the render thread can only exit via panicking:
bevy/crates/bevy_render/src/pipelined_rendering.rs
Lines 102 to 121 in 29f7293
The text was updated successfully, but these errors were encountered: