-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive "No reference to the subscription is kept" #11
Comments
I assume you are also returning a subscription in your else block right? It could be that this needs some specific handling. I haven't been using rxlint for a couple of years now so a PR to fix this would be welcome as I probably don't have the time for a fix at the moment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I assign a variable in kotlin using if condition, the leaking subscription is falsely determined:
.subscribe()
provides warning "No reference to the subscription is kept", but the subscription is not really leakingUsing version 1.7.8
The text was updated successfully, but these errors were encountered: