From 630efa2562f4a3c4cd730e413a5da3b25ac0a784 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Tue, 15 Sep 2020 20:49:28 +0300 Subject: [PATCH] Unsubscribe from all channels in sync mode. --- src/ChannelManagers/RedisChannelManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ChannelManagers/RedisChannelManager.php b/src/ChannelManagers/RedisChannelManager.php index 01ec084..3071a8a 100644 --- a/src/ChannelManagers/RedisChannelManager.php +++ b/src/ChannelManagers/RedisChannelManager.php @@ -143,9 +143,9 @@ class RedisChannelManager extends LocalChannelManager $connection, $channel, new stdClass ); } - })->then(function () use ($connection) { - parent::unsubscribeFromAllChannels($connection); }); + + parent::unsubscribeFromAllChannels($connection); } /**