-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
44c36ce
commit 76b6666
Showing
1 changed file
with
62 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters