111
This commit is contained in:
@@ -47,6 +47,7 @@ class Pool extends Component
|
|||||||
protected function pop(Channel $channel, $retain_number): void
|
protected function pop(Channel $channel, $retain_number): void
|
||||||
{
|
{
|
||||||
if ($channel instanceof Channel && Coroutine::getCid() === -1) {
|
if ($channel instanceof Channel && Coroutine::getCid() === -1) {
|
||||||
|
$channel = null;
|
||||||
unset($channel);
|
unset($channel);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user