-
Notifications
You must be signed in to change notification settings - Fork 156
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
Memory leak in withLatestFrom operator #121
Comments
@freak4pc Thanks for approving and merging the PR. When can I expect the next release? We would want to update our App to include this fix ASAP. |
@freak4pc Just bumping this one up. Can you please cut the release or is there a automated process to do so? We would want to release this ASAP as we are using this operator heavily. |
@bharath2020 You can simply lock your app to the specific commit. I'll try to find time to release soon, but you need to remember contributors don't work full time at cutting releases :) Since it's not an actual blocker there's nothing urgent in cutting the release. |
@freak4pc Thanks for the response and totally understand your busy schedule and your contributions 👍 . We avoid locking to specific commits so to pull any patches automatically and noticed there was few commits since last release, hence enquired. |
Thanks @freak4pc for releasing this fix. Can I close this issue? |
Yup, thanks! |
Hello folks,
We have found a memory leak issue in
withLatestFrom
operator which is very similar to the memory leak issue found here in ShareReplay.For better understanding, here is the code snippet
Expected:
subject1 and subject2 must be destroyed after the autorelease pool got drained
Actual:
subject1 is held in memory and becomes a zombie even after autorelease pool it belonged to was drained.
Solution:
It is very similar to how the share replay memory leak is taken care in this PR
I am happy to put up a PR to fix the issue. Please let me know if there is a better way to handle this.
The text was updated successfully, but these errors were encountered: