Skip to content

v5.2.7

Choose a tag to compare

@vivekCometChat vivekCometChat released this 23 Dec 18:36
· 7 commits to v5 since this release
f9b587e

New

  • None

Enhancements

  • Refined lifecycle management for chat and call modules to prevent memory leaks.
  • Improved handling of ViewModel observers and listeners with the introduction of isDetachedFromWindow flag.
  • Streamlined observer management with dedicated attachObservers methods for improved clarity and reusability.
  • Enhanced listener management by ensuring listeners are removed before reattaching, preventing redundant event handling.

Fixes

  • Resolved memory leak issues by ensuring proper detachment of observers and listeners during component lifecycle changes.
  • Fixed improper reattachment of listeners by introducing addListener and removeListener methods with unique listener tags to avoid duplicates.