Files
Héctor Ramón Jiménez 8b45d620d0 Revert window::close producing a window::Id
Instead, subscribing to `window::close_events` is
preferable; since most use cases will want to react
to the user closing a window as well.
2024-08-12 05:50:22 +02:00
..
2021-12-29 09:34:37 -08:00

Exit

How to exit an application based on user input.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package exit