Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ class AsyncClient extends ClientAbstracts
|
|||||||
*/
|
*/
|
||||||
public function close(): void
|
public function close(): void
|
||||||
{
|
{
|
||||||
if (!$this->client->connected) {
|
if (!$this->client || !$this->client->connected) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->client->close();
|
$this->client->close();
|
||||||
|
|||||||
Reference in New Issue
Block a user