From 19867bd51993f46249e2ff5d58d37b22d52ebc62 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 27 Feb 2021 03:36:08 +0800 Subject: [PATCH] modify --- HttpServer/Events/OnWorkerStart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);