Skip to content

Commit

Permalink
Fix Windows compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceg committed Aug 8, 2023
1 parent 606476c commit 6579fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fn os_signals(_: &Runtime) -> impl Stream<Item = SignalTo> {

async_stream::stream! {
loop {
let signal = tokio::signal::ctrl_c().map(|_| SignalTo::Shutdown).await;
let signal = tokio::signal::ctrl_c().map(|_| SignalTo::Shutdown(None)).await;
yield signal;
}
}
Expand Down

0 comments on commit 6579fad

Please sign in to comment.