bevy/crates/bevy_winit/src
Brezak 15687b5062
Simplify winit runner exit code reporting (#13151)
# Objective

~Returning a app exit code from the winit runner is complicated and
deadlock prone.~
The code to return a app exit code is rather shoddy. It's use of mutex
is redundant, It uses unwrap when not required and can be broken by a
maintainer simply forgetting to set a value.

## Solution

Switch to using a channel.
- Deals with situations in which a event loop exits unexpectedly.
- Never panics. Even in extreme cases.
2024-05-03 00:17:39 +00:00
..
accessibility.rs Move accessibility setup to accessibility module (#12784) 2024-03-29 16:02:25 +00:00
converters.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
lib.rs Simplify winit runner exit code reporting (#13151) 2024-05-03 00:17:39 +00:00
system.rs fix: rewrite winit loop (#12669) 2024-05-02 19:57:19 +00:00
winit_config.rs fix: rewrite winit loop (#12669) 2024-05-02 19:57:19 +00:00
winit_event.rs Deprecate ReceivedCharacter (#12868) 2024-04-30 00:49:41 +00:00
winit_windows.rs Introduce a WindowWrapper to extend the lifetime of the window when using pipelined rendering (#12978) 2024-04-30 14:13:07 +00:00