mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
15687b5062
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |