1
This commit is contained in:
@@ -220,9 +220,12 @@ class Pool extends Component
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
while (static::$_connections[$name]->length() > 0) {
|
while (static::$_connections[$name]->length() > 0) {
|
||||||
if (!Context::inCoroutine() && static::$_connections[$name] instanceof Channel)
|
if (static::$_connections[$name] instanceof Channel)
|
||||||
|
{
|
||||||
|
if (!Context::inCoroutine())
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$client = static::$_connections[$name]->pop();
|
$client = static::$_connections[$name]->pop();
|
||||||
if ($client instanceof StopHeartbeatCheck) {
|
if ($client instanceof StopHeartbeatCheck) {
|
||||||
|
|||||||
Reference in New Issue
Block a user