Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/Client/SwooleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public function connect(): void
public function close(): bool
{
$this->connected = false;
foreach ($this->recvChannels as $channel) {
$channel->close();
}

$this->recvChannels = [];

return $this->socket->close();
Expand Down