From c2308f218880bf86ee1da5865c67a773101e6640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 16 Apr 2023 15:25:46 +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 e532875..b069a22 100644 --- a/CoroutineServer.php +++ b/CoroutineServer.php @@ -82,9 +82,9 @@ class CoroutineServer implements ServerInterface $this->addListener(instance(SConfig::class, [], $rpcService)); } - $this->container->setBindings(ServerInterface::class, $this); + \Kiri::service()->set('server', $this); -// $this->processManager->batch(Config::get('processes', [])); + $this->processManager->batch(Config::get('processes', [])); }