Skip to content

Conversation

@danielcweber
Copy link
Collaborator

No description provided.


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