diff --git a/actix-server/CHANGES.md b/actix-server/CHANGES.md index 401248ce..098c37fb 100644 --- a/actix-server/CHANGES.md +++ b/actix-server/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2021-xx-xx +* Fix non-unix signal handler. [#410] + +[#410]: https://github.com/actix/actix-net/pull/410 ## 2.0.0-beta.7 - 2021-11-05 diff --git a/actix-server/src/signals.rs b/actix-server/src/signals.rs index 4013d7f2..0822a433 100644 --- a/actix-server/src/signals.rs +++ b/actix-server/src/signals.rs @@ -35,7 +35,7 @@ impl fmt::Display for Signal { /// Process signal listener. pub(crate) struct Signals { #[cfg(not(unix))] - signals: futures_core::future::LocalBoxFuture<'static, std::io::Result<()>>, + signals: futures_core::future::BoxFuture<'static, std::io::Result<()>>, #[cfg(unix)] signals: Vec<(Signal, actix_rt::signal::unix::Signal)>,