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

This commit is contained in:
Aaron Piotrowski 2025-03-01 14:50:55 -06:00
parent 31d8b70286
commit 03a5cddb84
No known key found for this signature in database
GPG Key ID: 5B456E6AABA44A63

View File

@ -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);