fix(llc): fix concurrent modification error.
Signed-off-by: xsahil03x <xdsahil@gmail.com>
This commit is contained in:
@@ -1713,7 +1713,7 @@ class ClientState {
|
||||
_unreadChannelsController.close();
|
||||
_totalUnreadCountController.close();
|
||||
|
||||
final channels = this.channels.keys;
|
||||
final channels = [...this.channels.keys];
|
||||
for (final channel in channels) {
|
||||
this.channels.remove(channel)?.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user