diff --git a/src/Client.php b/src/Client.php index 867e297..ee6cd1a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -253,6 +253,7 @@ protected function connectionReady(): void public function close(): void { + Timer::clear($this->getPingTimer()); $this->client->close(); $this->client = null; }