fix(core): Replaced all StreamController.add() with .safeAdd() to fix bad state errors.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-01-24 16:22:28 +05:30
committed by xsahil03x
parent c4ea134af7
commit bb3f48d42f
6 changed files with 58 additions and 39 deletions
@@ -3,6 +3,7 @@
🐞 Fixed
- Do not move a channel to top if the new message is from a thread.
- [[#848]](https://github.com/GetStream/stream-chat-flutter/issues/848) Fixed "Bad state: Cannot add new events after calling close" by replacing all `.add` methods with a new `.safeAdd`.
## 3.3.1