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)); }); } });