diff options
| author | Henry <mail@henrygressmann.de> | 2026-09-14 12:05:52 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-09-14 12:05:52 +0200 |
| commit | 741955aed21c814a0805386a4f9be997c2eb1199 (patch) | |
| tree | b3510eb2d314e5a096aa1a04babab37ac8028234 /examples/doom/src/main.rs | |
| parent | 70b4ca7b8effb5b8f61c7a43ea15a77af0db0103 (diff) | |
feat: add custom store state
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'examples/doom/src/main.rs')
| -rw-r--r-- | examples/doom/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/doom/src/main.rs b/examples/doom/src/main.rs index c5e49b5..a8e98ef 100644 --- a/examples/doom/src/main.rs +++ b/examples/doom/src/main.rs @@ -129,7 +129,7 @@ impl ApplicationHandler for DoomApp { window.request_redraw(); } - if self.runtime.host_state.lock().unwrap().exit_code.is_some() { + if self.runtime.exited() { event_loop.exit(); } } |
