diff --git a/daemon/src/platform/macos/runtime.rs b/daemon/src/platform/macos/runtime.rs index 400ec60a..6e94ca75 100644 --- a/daemon/src/platform/macos/runtime.rs +++ b/daemon/src/platform/macos/runtime.rs @@ -83,7 +83,7 @@ pub async fn run(tx: mpsc::Sender, mut stop: Shutdown) -> Result< Some(_) = stream.recv() => { // Trigger a Shutdown debug!("TERM Signal Received, Triggering STOP"); - let _ = tx.send(EventTriggers::Stop).await; + let _ = tx.send(EventTriggers::Stop(false)).await; }, _ = stop.recv() => { diff --git a/daemon/src/platform/windows.rs b/daemon/src/platform/windows.rs index c9ff2338..38eb164a 100644 --- a/daemon/src/platform/windows.rs +++ b/daemon/src/platform/windows.rs @@ -90,19 +90,19 @@ pub async fn spawn_platform_runtime( } }, Some(_) = ctrl_break.recv() => { - tx.send(EventTriggers::Stop).await?; + tx.send(EventTriggers::Stop(false)).await?; }, Some(_) = ctrl_close.recv() => { debug!("Hit Ctrl+Close"); - tx.send(EventTriggers::Stop).await?; + tx.send(EventTriggers::Stop(false)).await?; } Some(_) = ctrl_shutdown.recv() => { debug!("Hit Ctrl+Shutdown"); - tx.send(EventTriggers::Stop).await?; + tx.send(EventTriggers::Stop(false)).await?; } Some(_) = ctrl_logoff.recv() => { debug!("Hit Ctrl+Logoff"); - tx.send(EventTriggers::Stop).await?; + tx.send(EventTriggers::Stop(false)).await?; } //Some(_) = ctrl_ () = shutdown.recv() => {