-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ReplaySubject memory leak #578
Comments
Yeah you can blame me for taking it out. Certainly looked fishy, perhaps a refactor could help clarify it's not just "getting" the events. |
@staltz ... has this been fixed? |
Not yet. I'll do it. |
Okay, thanks @staltz ... I wasn't asking you to do it, I was just quickly checking to see if I missed that this needed to be closed. |
staltz
added a commit
to staltz/RxJSNext
that referenced
this issue
Nov 17, 2015
Add test for ReplaySubject that checks a memory leak should not happen when feeding in events to the ReplaySubject synchronously, without any subscriber involved. Related to issue ReactiveX#578.
staltz
added a commit
to staltz/RxJSNext
that referenced
this issue
Nov 17, 2015
Fix ReplaySubject to attempt to trim its own buffer of events whenever a new event is fed through next(). Resolves issue ReactiveX#578.
staltz
added a commit
to staltz/RxJSNext
that referenced
this issue
Nov 26, 2015
Fix ReplaySubject to attempt to trim its own buffer of events whenever a new event is fed through next(). Resolves issue ReactiveX#578.
kwonoj
pushed a commit
that referenced
this issue
Nov 30, 2015
Fix ReplaySubject to attempt to trim its own buffer of events whenever a new event is fed through next(). Resolves issue #578.
Closing this issue by PR #742 now merged. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ReplaySubject
would clear its cache of events only when a new observable subscribes, otherwise the array of events grows indefinitely.Steps to reproduce:
Apparently introduced by this 488ac2e commit.
The text was updated successfully, but these errors were encountered: