This commit is contained in:
2023-04-02 23:50:29 +08:00
parent b7ee0b3b62
commit b98fed7b7c
+2 -2
View File
@@ -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));
});
}
});