From b98fed7b7c6a4bf8515df512073a7f06e0205c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 2 Apr 2023 23:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoroutineServer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoroutineServer.php b/CoroutineServer.php index 9bca633..5b735b4 100644 --- a/CoroutineServer.php +++ b/CoroutineServer.php @@ -184,11 +184,11 @@ class CoroutineServer implements ServerInterface foreach ($this->servers as $server) { Coroutine::create(static function () use ($server) { - $this->dispatch->dispatch(new OnWorkerStart($server, 0)); +// $this->dispatch->dispatch(new OnWorkerStart($server, 0)); $server->start(); - $this->dispatch->dispatch(new OnWorkerExit($server, 0)); +// $this->dispatch->dispatch(new OnWorkerExit($server, 0)); }); } });