Skip to content
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

Closed
lion4ik opened this issue Aug 31, 2017 · 10 comments
Closed

Possible memory leak #219

lion4ik opened this issue Aug 31, 2017 · 10 comments
Labels

Comments

@lion4ik
Copy link

lion4ik commented Aug 31, 2017

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.

@pwittchen
Copy link
Owner

pwittchen commented Aug 31, 2017 via email

@lion4ik
Copy link
Author

lion4ik commented Aug 31, 2017

Yes, I am sure because I've tested it on api 19

@pwittchen
Copy link
Owner

Ok, I'll investigate that issue.

@pwittchen pwittchen added the bug label Aug 31, 2017
lion4ik pushed a commit to lion4ik/ReactiveNetwork that referenced this issue Aug 31, 2017
@lion4ik
Copy link
Author

lion4ik commented Aug 31, 2017

I've done pull request with fix #220

@pwittchen
Copy link
Owner

Ok, thanks.

@pwittchen
Copy link
Owner

PR merged. Fix will be available in the next release.

@lion4ik
Copy link
Author

lion4ik commented Sep 2, 2017

thanks, when do you plan next release?

@pwittchen
Copy link
Owner

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.

@pwittchen
Copy link
Owner

@lion4ik new release is already there: https://github.com/pwittchen/ReactiveNetwork#download

enjoy :)

@lion4ik
Copy link
Author

lion4ik commented Sep 4, 2017

@pwittchen thank you very much! I've already done with update version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants