mirror of
https://github.com/amphp/parallel.git
synced 2025-04-21 02:01:53 +02:00
Fix
Some checks failed
Continuous Integration / PHP 8.3 on Windows (push) Has been cancelled
Continuous Integration / PHP 8.3 on macOS (push) Has been cancelled
Continuous Integration / PHP 8.1 (push) Has been cancelled
Continuous Integration / PHP 8.2 (push) Has been cancelled
Continuous Integration / PHP 8.3 (push) Has been cancelled
Continuous Integration / PHP 8.2 with ext-parallel (push) Has been cancelled
Continuous Integration / PHP 8.3 with ext-parallel (push) Has been cancelled
Some checks failed
Continuous Integration / PHP 8.3 on Windows (push) Has been cancelled
Continuous Integration / PHP 8.3 on macOS (push) Has been cancelled
Continuous Integration / PHP 8.1 (push) Has been cancelled
Continuous Integration / PHP 8.2 (push) Has been cancelled
Continuous Integration / PHP 8.3 (push) Has been cancelled
Continuous Integration / PHP 8.2 with ext-parallel (push) Has been cancelled
Continuous Integration / PHP 8.3 with ext-parallel (push) Has been cancelled
This commit is contained in:
parent
31d8b70286
commit
03a5cddb84
@ -141,7 +141,7 @@ final class ForkContext extends AbstractContext
|
||||
|
||||
public function close(): void
|
||||
{
|
||||
if (!$this->exited) {
|
||||
if ($this->checkExit(false) === null) {
|
||||
$this->weKilled = true;
|
||||
\posix_kill($this->pid, \SIGKILL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user