mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix possible RxStore memory leak.
This commit is contained in:
@@ -66,6 +66,8 @@ class SafetyNumberBottomSheetViewModel(
|
||||
|
||||
override fun onCleared() {
|
||||
disposables.clear()
|
||||
destinationStore.dispose()
|
||||
store.dispose()
|
||||
}
|
||||
|
||||
fun getIdentityRecord(recipientId: RecipientId): Maybe<IdentityRecord> {
|
||||
|
||||
Reference in New Issue
Block a user