Skip to content

Commit

Permalink
fix server non-unix signal impl send
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Nov 5, 2021
1 parent f8f51a2 commit cfac193
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions actix-server/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion actix-server/src/signals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)>,
Expand Down

0 comments on commit cfac193

Please sign in to comment.