bevy/crates/bevy_render
James Liu a634ce37a6 Stop using unwrap in the pipelined rendering thread (#9052)
# Objective
Fix #8936.

## Solution
Stop using `unwrap` in the core pipelined rendering logic flow.

Separately also scoped the `sub app` span to just running the render app
instead of including the blocking send.

Current unknowns: should we use `std::panic::catch_unwind` around
running the render app? Other engine threads use it defensively, but
we're letting it bubble up here, and a user-created panic could cause a
deadlock if it kills the thread.

---

## Changelog
Fixed: Pipelined rendering should no longer have spurious panics upon
app exit.
2023-08-09 18:02:44 -07:00
..
macros Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
src Stop using unwrap in the pipelined rendering thread (#9052) 2023-08-09 18:02:44 -07:00
Cargo.toml Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00