Skip to content

Fix Thread Safety for Unsubscribe of Window #1833

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

Merged
merged 1 commit into from
Nov 8, 2014

Conversation

benjchristensen
Copy link
Member

I'm using a separate variable so the volatile is only touching during window start/end and unsubscribe rather than every onNext.

I'm using a separate variable so the volatile is only touching during window start/end and unsubscribe rather than every onNext.
@zsxwing
Copy link
Member

zsxwing commented Nov 7, 2014

LGTM

@benjchristensen
Copy link
Member Author

Thanks.

benjchristensen added a commit that referenced this pull request Nov 8, 2014
Fix Thread Safety for Unsubscribe of Window
@benjchristensen benjchristensen merged commit faa270c into ReactiveX:1.x Nov 8, 2014
@benjchristensen benjchristensen deleted the window-tweaks branch November 8, 2014 03:23
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