From 5666df1d0c8b2493ea4a12bf7c99b5ed0f6ec3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 2 Mar 2021 18:36:49 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Abstracts/Pool.php b/System/Abstracts/Pool.php index 8449b9f7..c2c87c78 100644 --- a/System/Abstracts/Pool.php +++ b/System/Abstracts/Pool.php @@ -279,7 +279,7 @@ abstract class Pool extends Component { Timer::clear($this->creates); $this->warning('release ' . get_called_class() . ' pool...'); - if (!Context::inCoroutine() || !isset($this->_items[$name])) { + if (!isset($this->_items[$name])) { return; } $channel = $this->_items[$name];