bevy/crates/bevy_render
Mike 76b6666965
wait for render app when main world is dropped (#11737)
# Objective

- Try not to drop the render world on the render thread, and drop the
main world after the render world.
- The render world has a drop check that will panic if it is dropped off
the main thread.

## Solution

- Keep track of where the render world is and wait for it to come back
when the channel resource is dropped.

---

## Changelog

- Wait for the render world when the main world is dropped.

## Migration Guide

- If you were using the pipelined rendering channels,
`MainToRenderAppSender` and `RenderToMainAppReceiver`, they have been
combined into the single resource `RenderAppChannels`.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Friz64 <friz64@protonmail.com>
2024-02-08 14:09:17 +00:00
..
macros Inverse missing_docs logic (#11676) 2024-02-03 21:40:55 +00:00
src wait for render app when main world is dropped (#11737) 2024-02-08 14:09:17 +00:00
Cargo.toml Async pipeline compilation (#10812) 2024-02-05 13:50:50 +00:00