Add logging to event checker

This commit is contained in:
Jonathan Kelley committed 2024-02-22 13:55:29 -08:00
1 parent 2ead6c6074
commit 48d6a9acbb
1 file changed
+1
@@ -16,6 +16,7 @@ pub(crate) fn check_app_exits(app: fn() -> Element) {
std::thread::spawn(move || {
std::thread::sleep(std::time::Duration::from_secs(60));
if should_panic_clone.load(std::sync::atomic::Ordering::SeqCst) {
eprintln!("App did not exit in time");
std::process::exit(exitcode::SOFTWARE);
}
});