改名
This commit is contained in:
@@ -218,12 +218,8 @@ class Pool extends Component
|
|||||||
if (!isset(static::$_connections[$name])) {
|
if (!isset(static::$_connections[$name])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
while (static::$_connections[$name]->length() > 0) {
|
||||||
var_dump(static::$_connections[$name]);
|
$client = static::$_connections[$name]->pop();
|
||||||
|
|
||||||
/** @var Channel|SplQueue $connection */
|
|
||||||
foreach (static::$_connections[$name] as $connection) {
|
|
||||||
$client = $connection->pop();
|
|
||||||
if ($client instanceof StopHeartbeatCheck) {
|
if ($client instanceof StopHeartbeatCheck) {
|
||||||
$client->stopHeartbeatCheck();
|
$client->stopHeartbeatCheck();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user