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

OperatorTakeLast add check for isUnsubscribed to fast path #2244

Merged
merged 1 commit into from
Jan 19, 2015

Conversation

davidmoten
Copy link
Collaborator

Went looking for a bug that wasn't a bug but found this anyway. OperatorTakeLast doesn't check subscriber.isUnsubscribed() while emitting its queued events so I added a failing unit test and the fix.

@davidmoten
Copy link
Collaborator Author

failed test is unrelated and non-deterministic: rx.BackpressureTests.testMergeAsyncThenObserveOn

@zsxwing
Copy link
Member

zsxwing commented Jan 19, 2015

LGTM

zsxwing added a commit that referenced this pull request Jan 19, 2015
OperatorTakeLast add check for isUnsubscribed to fast path
@zsxwing zsxwing merged commit c49704b into ReactiveX:1.x Jan 19, 2015
@benjchristensen benjchristensen mentioned this pull request Feb 3, 2015
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.

2 participants