diff --git a/app/src/app.rs b/app/src/app.rs index 8725189d..6a6a116a 100644 --- a/app/src/app.rs +++ b/app/src/app.rs @@ -202,7 +202,7 @@ impl App { use std::os::unix::ffi::OsStrExt; std::fs::write(p, paths.as_bytes()).ok(); } - return emit!(Quit(true)); + return emit!(Quit(false)); } if let Some(opener) = opener { diff --git a/app/src/signals.rs b/app/src/signals.rs index da183f52..a01caa39 100644 --- a/app/src/signals.rs +++ b/app/src/signals.rs @@ -64,7 +64,7 @@ impl Signals { while let Some(signal) = signals.next().await { match signal { SIGHUP | SIGTERM | SIGQUIT | SIGINT => { - if tx.send(Event::Quit(true)).is_err() { + if tx.send(Event::Quit(false)).is_err() { break; } }