- fix: compile issue on windows due to incorrect signal handling function call

This commit is contained in:
2025-01-07 23:48:23 -05:00
parent db868cc1ac
commit 584892ab97

View File

@@ -22,6 +22,7 @@ async fn terminate_signal() {
#[cfg(windows)]
{
signal::ctrl_break().await.expect("Failed to set up CTRL_BREAK handler");
let mut ctrlbreak = signal::windows::ctrl_break().expect("Failed to set up CTRL_BREAK handler");
ctrlbreak.recv().await;
}
}