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
Possible memory leak #219
Comments
Thanks for reporting this issue.
Are you sure PreLollipopNetworkObservingStrategy was used in your case?
Maybe different strategy was used and that may be the reason, this method
wasn't called.
…On Thu, Aug 31, 2017 at 11:58 AM, Alexey ***@***.***> wrote:
https://github.com/pwittchen/ReactiveNetwork/blob/RxJava2.
x/library/src/main/java/com/github/pwittchen/reactivenetwork/library/rx2/
network/observing/strategy/PreLollipopNetworkObservingStrategy.java#L70
unregisterReceiver never be called. So, BroadcastReceiver will be leaked.
I've tried to set up break point on this line and this was not called,
howerer I disposed my Disposable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#219>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAqcF_iL6fUbOj9vlnravamAHz95W9wlks5sdoPDgaJpZM4PImQN>
.
--
Piotr Wittchen
http://wittchen.biz.pl
|
Yes, I am sure because I've tested it on api 19 |
Ok, I'll investigate that issue. |
I've done pull request with fix #220 |
Ok, thanks. |
PR merged. Fix will be available in the next release. |
thanks, when do you plan next release? |
I think I'll release it today. There's not much effort to do it. Later, we just need to wait for Maven Sync, so the new version should be available on Maven Central Repository in 48 hours or earlier. If you want to be up to date with the upcoming release, you can track issue #221. |
@lion4ik new release is already there: https://github.com/pwittchen/ReactiveNetwork#download enjoy :) |
@pwittchen thank you very much! I've already done with update version |
https://github.com/pwittchen/ReactiveNetwork/blob/RxJava2.x/library/src/main/java/com/github/pwittchen/reactivenetwork/library/rx2/network/observing/strategy/PreLollipopNetworkObservingStrategy.java#L70
unregisterReceiver never be called. So, BroadcastReceiver will be leaked. I've tried to set up break point on this line and this was not called, howerer I disposed my Disposable.
The text was updated successfully, but these errors were encountered: