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

2.x: make sure the helper returns true if the pre-swap value was null #4107

Merged
merged 1 commit into from
Jun 24, 2016

Conversation

akarnokd
Copy link
Member

The original behavior was somewhat inconsistent: if the target was null before the cancel/dispose, the method didn't return true indicating a successful swap for the current thread. Now that many cancelled flag has been removed, it has to consistently trigger the remaining cleanup actions.

@akarnokd akarnokd added the Bug label Jun 24, 2016
@akarnokd akarnokd added this to the 2.0 RC 1 milestone Jun 24, 2016
@JakeWharton
Copy link
Contributor

👍

@akarnokd akarnokd merged commit e5b0b06 into ReactiveX:2.x Jun 24, 2016
@akarnokd akarnokd deleted the HelperReportTrueOnNull branch June 24, 2016 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants