Skip to content

Remove assert#36224

Merged
JoeRobich merged 1 commit intodotnet:masterfrom
tmat:VSHierarchyAssert
Jun 7, 2019
Merged

Remove assert#36224
JoeRobich merged 1 commit intodotnet:masterfrom
tmat:VSHierarchyAssert

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Jun 7, 2019

No description provided.

@tmat tmat requested a review from a team as a code owner June 7, 2019 01:11
@jinujoseph
Copy link
Copy Markdown
Contributor

cc @JoeRobich to flow this in with current payload

// _foregroundObject.AssertIsForeground();

// This doesn't take a lock since _projectToGuidMap is immutable
return _projectToGuidMap.TryGetValue(projectId, out var projectGuid) &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We're confident this isn't trading the functional break for a deadlock?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No. This is not a proper fix, just workaround.

@JoeRobich JoeRobich merged commit d911a1d into dotnet:master Jun 7, 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.

5 participants