diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 211bc417..71fd0219 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -71,8 +71,7 @@ class OnWorkerStart extends Callback Coroutine::sleep(1); } } -// $server->stop(); - Process::kill($server->worker_pid, SIGKILL); + $server->stop($workerId); } catch (\Throwable $exception) { $this->addError($exception); }