Skip to content

Commit

Permalink
Fix NativeReactor::stop() being delayed, prepare tag 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Nov 16, 2015
1 parent 515129f commit 9f76a3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.0.6

- Fix issue in NativeReactor causing `stop()` to be delayed by
one second.

### 1.0.5

- Convert general `RuntimeException` to more specific
Expand Down
2 changes: 1 addition & 1 deletion lib/NativeReactor.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function doTick($noWait) {
}

// If an immediately watcher called stop() we pull out here
if ($this->state <= self::STOPPING) {
if ($this->state <= self::STOPPED) {
return;
}

Expand Down

0 comments on commit 9f76a3f

Please sign in to comment.