Skip to content

Commit ca1e553

Browse files
committed
gui: Close app on panic
1 parent 325c917 commit ca1e553

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eurochef/gui/src/panic_dialog.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ pub fn setup() {
3434
{
3535
eprintln!("Failed to show error dialog: {e}")
3636
}
37+
38+
// Make sure the application exits
39+
std::process::exit(-1);
3740
}))
3841
}
3942

0 commit comments

Comments
 (0)