diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index a7fdffef..c636e8e6 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -73,7 +73,7 @@ class OnWorkerStart extends Callback Coroutine::sleep(1); } } - $server->stop($workerId, true); + $server->stop($workerId); var_dump(Coroutine::waitPid($server->worker_pid)); } catch (\Throwable $exception) { $this->addError($exception);