mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +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. |
||
---|---|---|
.. | ||
converters.rs | ||
lib.rs | ||
winit_config.rs | ||
winit_windows.rs |