diff --git a/src/Dispatcher.php b/src/Dispatcher.php index a8f6b17..7dbce64 100644 --- a/src/Dispatcher.php +++ b/src/Dispatcher.php @@ -614,11 +614,4 @@ private function informWorkersQuit() // 防止子进程无响应,这里循环一定时间后直接退出 } while ((time() - $startInformTime) < $this->shutdownTimeoutSec); } - - private function waitChildren() - { - while (($pid = pcntl_wait($status, WNOHANG)) > 0) { - $this->clearWorker($this->idMap[$pid] ?? '', $pid); - } - } } \ No newline at end of file