Revert "改名"
This reverts commit fdf58326
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user