mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 05:03:47 +00:00
a2d49f4a69
# Objective - Fixes #4010, as well as any similar issues in this class. - Winit functions used outside of the main thread can cause the application to unexpectedly hang. ## Solution - Make the `WinitWindows` resource `!Send`. - This ensures that any systems that use `WinitWindows` must either be exclusive (run on the main thread), or the resource is explicitly marked with the `NonSend` parameter in user systems. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |