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

Don't add the subscriber to the manager if it unsubscribed during the on... #1355

Conversation

akarnokd
Copy link
Member

...Start call

This may happen, for example, when subscribing to a ReplaySubject containing some elements and taking fewer elements than available. In the original, the logic opened a small window where the SubjectSubscriber could get an onNext event even if the actual Subscriber was already unsubscribed at that point.

@cloudbees-pull-request-builder

RxJava-pull-requests #1274 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Jun 12, 2014
…edChild

Don't add the subscriber to the manager if it unsubscribed during the on...
@benjchristensen benjchristensen merged commit 4b53474 into ReactiveX:master Jun 12, 2014
@akarnokd akarnokd deleted the ReplaySubjectDontAddUnsubscribedChild branch January 20, 2015 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants