改名
This commit is contained in:
@@ -299,9 +299,11 @@ abstract class Pool extends Component
|
|||||||
*/
|
*/
|
||||||
public function push(string $name, mixed $client)
|
public function push(string $name, mixed $client)
|
||||||
{
|
{
|
||||||
|
var_dump($name);
|
||||||
if (Coroutine::getCid() === -1) {
|
if (Coroutine::getCid() === -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
var_dump($name, $client);
|
||||||
$channel = $this->getChannel($name);
|
$channel = $this->getChannel($name);
|
||||||
if (!$channel->isFull()) {
|
if (!$channel->isFull()) {
|
||||||
$channel->push($client);
|
$channel->push($client);
|
||||||
|
|||||||
Reference in New Issue
Block a user