Skip to content

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