android10 / android10/Android-CleanArchitecture

Checking subscription before the execute method in UseCase.

未關閉
#135 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
15.5k
分支
3.3k
PR 合併指標
30 天內沒有已合併 PR

描述

Hi guys,

There is a leak in [UseCase](https://github.com/android10/Android-CleanArchitecture/blob/master/domain/src/main/java/com/fernandocejas/android10/sample/domain/interactor/UseCase.java) when you run `execute(Subscriber UseCaseSubscriber)` with different subscribers sequentially.

Maybe we need to check this subscription in this method and unsubscribe if we already have one?

What do you think?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。