This commit is contained in:
as2252258@163.com
2021-09-06 01:36:34 +08:00
parent 896f4e08f6
commit 5c68659e64
+1
View File
@@ -47,6 +47,7 @@ class Pool extends Component
protected function pop(Channel $channel, $retain_number): void
{
if ($channel instanceof Channel && Coroutine::getCid() === -1) {
$channel = null;
unset($channel);
return;
}