# 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. |
||
|---|---|---|
| .. | ||
| accessibility.rs | ||
| converters.rs | ||
| lib.rs | ||
| system.rs | ||
| winit_config.rs | ||
| winit_event.rs | ||
| winit_windows.rs | ||