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

@@ -72,6 +72,7 @@ class ShareViewModel(
override fun onCleared() {
disposables.clear()
store.dispose()
}
private fun moveToFailedState(throwable: Throwable? = null) {