commit
This commit is contained in:
parent
37225fe958
commit
a5cf1236db
|
|
@ -47,6 +47,10 @@ class ChannelManager
|
||||||
|
|
||||||
public function removeFromAllChannels(ConnectionInterface $connection)
|
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])->each->unsubscribe($connection);
|
||||||
|
|
||||||
collect($this->channels[$connection->client->appId])
|
collect($this->channels[$connection->client->appId])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue