Fix possible RxStore memory leak.

This commit is contained in:
Alex Hart
2022-10-05 12:06:47 -03:00
committed by GitHub
parent 4f3910e3ae
commit ee00e931eb
21 changed files with 63 additions and 13 deletions

View File

@@ -66,6 +66,8 @@ class SafetyNumberBottomSheetViewModel(
override fun onCleared() {
disposables.clear()
destinationStore.dispose()
store.dispose()
}
fun getIdentityRecord(recipientId: RecipientId): Maybe<IdentityRecord> {