diff --git a/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt b/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt index 3ae8f3a86b..c940d70ba9 100644 --- a/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt +++ b/vector/src/main/java/im/vector/riotredesign/core/platform/VectorBaseActivity.kt @@ -93,7 +93,6 @@ abstract class VectorBaseActivity : BaseMvRxActivity() { } protected fun Disposable.disposeOnDestroy(): Disposable { - // TODO Ganfra: never disposed... uiDisposables.add(this) return this } @@ -133,6 +132,8 @@ abstract class VectorBaseActivity : BaseMvRxActivity() { unBinder?.unbind() unBinder = null + + uiDisposables.dispose() } override fun onResume() {