Render App systems are blocking the Main app's primary thread #9964
Description
Bevy version
main (f8fd93f)
What you did
I ran cargo run --profile stress-test --features trace_tracy --example many_cubes
and viewed the trace in Tracy.
What went wrong
I was expecting that no blocking systems from the render app would block the main app from progressing.
In this screenshot, prepare_windows
is blocking UpdateAssets from terminating. Delaying it from terminating and blocking PreUpdate and subsequent schedules.
We currently do not schedule tasks from the ComputeTaskPool onto the render app thread, it may be a good idea to avoid doing so with all dedicated app schedule threads.