Skip to content

Commit

Permalink
Fail joinDeferred correctly on kill during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Dec 5, 2017
1 parent 690d696 commit 9b7f14a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Internal/Windows/SocketConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ public function failHandleStart(Handle $handle, string $message, ...$args) {
foreach ($handle->stdioDeferreds as $deferred) {
$deferred->fail($error);
}

$handle->pidDeferred->fail($error);
$handle->joinDeferred->fail($error);
}

/**
Expand Down

0 comments on commit 9b7f14a

Please sign in to comment.