Skip to content

Commit

Permalink
Fix SIGINT force shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Mar 30, 2019
1 parent 02ab804 commit 3add906
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions actix-server/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changes

## [0.4.2] - 2019-03-30

### Fixed

* Fix SIGINT force shutdown


## [0.4.1] - 2019-03-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion actix-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-server"
version = "0.4.1"
version = "0.4.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix server - General purpose tcp server"
keywords = ["network", "framework", "async", "futures"]
Expand Down
2 changes: 1 addition & 1 deletion actix-server/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ impl ServerBuilder {
self.accept.send(Command::Stop);

// stop workers
if !self.workers.is_empty() {
if !self.workers.is_empty() && graceful {
spawn(
futures_unordered(
self.workers
Expand Down

0 comments on commit 3add906

Please sign in to comment.