element-x-android
a561565b - Drop the room list controller reference when it is destroyed

Commit
20 days ago
Drop the room list controller reference when it is destroyed The dynamic entries controller is destroyed when the entries flow of the room list stops, for instance when its coroutine scope is cancelled, but RustDynamicRoomList kept using it, so a later loadMore() from the UI crashed the app with "RoomListDynamicEntriesController object has already been destroyed". Clear the reference under the same mutex, right before the controller is destroyed, so that later calls do nothing instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Committer
Parents
Loading