Timeline : avoid crash when destroying
This commit is contained in:
parent
3be1267033
commit
e76bafc043
1 changed files with 5 additions and 1 deletions
|
|
@ -126,7 +126,11 @@ class RustMatrixTimeline(
|
|||
|
||||
private suspend fun fetchMembers() = withContext(dispatcher) {
|
||||
initLatch.await()
|
||||
innerTimeline.fetchMembers()
|
||||
try {
|
||||
innerTimeline.fetchMembers()
|
||||
} catch (exception: Exception) {
|
||||
Timber.e(exception, "Error fetching members for room ${matrixRoom.roomId}")
|
||||
}
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue