Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-10 18:45:21 +08:00
parent 6984f78746
commit d479f36662
+1 -1
View File
@@ -172,7 +172,7 @@ class AsyncClient extends ClientAbstracts
*/
public function close(): void
{
if (!$this->client->connected) {
if (!$this->client || !$this->client->connected) {
return;
}
$this->client->close();