bevy/crates/bevy_render
James Liu 630958a9f1
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-07-23 01:06:25 +00:00
..
macros Bump Version after Release (#9106) 2023-07-10 21:19:27 +00:00
src Stop using unwrap in the pipelined rendering thread (#9052) 2023-07-23 01:06:25 +00:00
Cargo.toml Bump Version after Release (#9106) 2023-07-10 21:19:27 +00:00