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

Review join observer #647

Merged
merged 4 commits into from
Jun 26, 2018
Merged

Review join observer #647

merged 4 commits into from
Jun 26, 2018

Conversation

danielcweber
Copy link
Collaborator

No description provided.

return;
}

Queue.Enqueue(notification);
foreach (var activePlan in activePlans.ToArray())
foreach (var activePlan in _activePlans.ToArray())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add small a comment here stating that _activePlan can change during the iteration and thus it is necessary to work on a snapshot of the plans?

@danielcweber danielcweber merged commit e7faa2e into dotnet:master Jun 26, 2018
@danielcweber danielcweber deleted the ReviewJoinObserver branch June 26, 2018 17:21
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.

3 participants