This commit is contained in:
freek 2018-11-27 21:39:27 +01:00
parent 37225fe958
commit a5cf1236db
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ class ChannelManager
public function removeFromAllChannels(ConnectionInterface $connection)
{
if (! isset($connection->client)) {
return;
}
collect($this->channels[$connection->client->appId])->each->unsubscribe($connection);
collect($this->channels[$connection->client->appId])