diff --git a/src/modules/explorer/os_signals.rs b/src/modules/explorer/os_signals.rs index 42dcf92..4327ef4 100644 --- a/src/modules/explorer/os_signals.rs +++ b/src/modules/explorer/os_signals.rs @@ -30,12 +30,13 @@ pub(super) async fn signal_listener(sig_chan_tx: broadcast::Sender } #[cfg(windows)] -pub(super) async fn signal_listener(sig_chan_tx: broadcast::Sender) { +pub(super) async fn signal_listener(sig_chan_tx: broadcast::Sender) -> BoxResult<()>{ select! { _ = terminate_signal() => { sig_chan_tx.send(CustomSignal::Shutdown).unwrap(); } } + Ok(()) } #[cfg(unix)]