modify plugin name

This commit is contained in:
2022-06-17 12:09:07 +08:00
parent 92b5b248a3
commit 0535d6fd7f
+1 -1
View File
@@ -104,7 +104,7 @@ class Pool extends Component
if (!isset(static::$_connections[$name])) {
$this->newChannel($name);
}
if (static::$_connections[$name]->errCode == SWOOLE_CHANNEL_CLOSED) {
if (static::$_connections[$name]->isClose()) {
throw new Exception('Channel is Close.');
}
return static::$_connections[$name];