bevy/crates/bevy_winit/src
Aevyrie a2d49f4a69 Make WinitWindows non send (#4027)
# 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.
2022-02-24 01:40:02 +00:00
..
converters.rs Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
lib.rs Make WinitWindows non send (#4027) 2022-02-24 01:40:02 +00:00
winit_config.rs fix rustdoc warnings (#1437) 2021-02-22 03:59:35 +00:00
winit_windows.rs Make WinitWindows non send (#4027) 2022-02-24 01:40:02 +00:00