From b74d7579d1555a54608a95411f3332d2ee83d0f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 20 Feb 2021 13:43:12 +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/Pool/Timeout.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/System/Pool/Timeout.php b/System/Pool/Timeout.php index 23380dfe..d29ae649 100644 --- a/System/Pool/Timeout.php +++ b/System/Pool/Timeout.php @@ -39,10 +39,14 @@ trait Timeout protected function flush($retain_number) { $channels = $this->getChannels(); + + $names = []; foreach ($channels as $name => $channel) { + $names[] = $name; $this->pop($channel, $name, $retain_number); } if ($retain_number == 0) { + $this->debug('release ' . implode(',', $names)); $this->debug('release Timer::tick'); Timer::clear($this->creates); $this->creates = -1;