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

Fix Delay(selector) NPE on immediate emissions #1049

Merged
merged 1 commit into from Sep 28, 2019

Conversation

akarnokd
Copy link
Collaborator

The _subscription may be null if the participating Observables emit immediately and should have been disposed via the atomics utility method anyway.

Fixes #1048

@akarnokd akarnokd changed the title Fix delay(selector) NPE on immediate emissions Fix Delay(selector) NPE on immediate emissions Sep 28, 2019
@clairernovotny clairernovotny merged commit c3602a1 into dotnet:master Sep 28, 2019
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.

source.Delay(observable) throws NullReferenceException if source emits a value immediately
2 participants