From 419dfb6e0b3900a101c19fb84d35eedbb960f8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 5 Apr 2023 13:54:36 +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 --- kiri-engine/Pool/PoolItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/Pool/PoolItem.php b/kiri-engine/Pool/PoolItem.php index 0d926b88..91100a9c 100644 --- a/kiri-engine/Pool/PoolItem.php +++ b/kiri-engine/Pool/PoolItem.php @@ -103,7 +103,7 @@ class PoolItem { if ($this->_items->isEmpty() && $this->created < $this->maxCreated) { $callback = $this->callback; - $client = $callback(); + $client = call_user_func($callback); $this->created += 1;