diff --git a/src/Client.php b/src/Client.php index 86b8d5a..8790cf0 100644 --- a/src/Client.php +++ b/src/Client.php @@ -36,11 +36,6 @@ class Client */ protected $client; - /** - * @var \Swoole\Coroutine\Channel - */ - protected $channel; - /** * @var array */ @@ -71,7 +66,6 @@ public function __construct(string $host, int $port, bool $ssl = false, float $t $this->timeout = $timeout; $this->connect(); - $this->channel = new \Swoole\Coroutine\Channel(100); go(function () { while (true) { $response = $this->client->recv(-1); @@ -114,7 +108,6 @@ public function close(): void { $this->closed = true; $this->client->close(); - $this->channel->close(); } /**