From 6db2053816bc977d7d611d84c29d89bb04a6464a Mon Sep 17 00:00:00 2001 From: Puggan Sundragon Date: Thu, 7 Dec 2023 16:52:00 +0100 Subject: [PATCH] Switch from kill-all-exit to a normal exit when a child is done, Issue #50 --- src/Fork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fork.php b/src/Fork.php index 5647412..1c44458 100644 --- a/src/Fork.php +++ b/src/Fork.php @@ -129,7 +129,7 @@ protected function forkForTask(Task $task): Task try { $this->executeInChildTask($task, $socketToParent); } finally { - $this->exit(); + exit(); } }