From 00a43a256365cef617049b3bf4d3528743846277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 15 Feb 2021 10:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Abstracts/Pool.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index e1f21db9..a91761eb 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -134,11 +134,9 @@ abstract class Pool extends Component return $client; } - $this->push($coroutineName, $client); - Context::deleteId('create:connect:' . $coroutineName); - return $this->get($coroutineName)[1]; + return $client; }