Skip to content

Commit a22014c

Browse files
committed
fix(utils): address compile errors on windows
1 parent 60ca88c commit a22014c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

utilities/src/signals.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ impl SignalHandler {
9595

9696
#[cfg(not(target_family = "unix"))]
9797
let signal_listener = async move {
98-
tokio::signal::ctrl_c()?;
99-
debug!("Got signal");
100-
Ok(())
98+
tokio::signal::ctrl_c().await?;
99+
debug!("Received signal");
100+
101+
std::io::Result::<()>::Ok(())
101102
};
102103

103104
// Block until the signal.

0 commit comments

Comments
 (0)