This commit is contained in:
as2252258@163.com
2021-02-22 01:01:15 +08:00
parent 467b67feb6
commit 0d77f82234
+1 -1
View File
@@ -60,7 +60,7 @@ trait Timeout
protected function pop($channel, $name, $retain_number)
{
while ($channel->length() > $retain_number) {
[$timer, $connection] = $channel->pop();
$connection = $channel->pop();
if ($connection) {
unset($connection);
}