Skip to content

Commit

Permalink
Update src/Workspaces/Core/Portable/Workspace/Workspace.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Jun 11, 2024
1 parent 3ef54a6 commit fc72d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Workspaces/Core/Portable/Workspace/Workspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ static Solution UnifyLinkedDocumentContents(Solution oldSolution, Solution newSo
// now, for any changed document, ensure we go and make all links to it have the same text/tree.
newSolution = UpdateExistingDocumentsToChangedDocumentContents(newSolution, changedDocumentIds, projectToSiblingFlavors);

// Free the ArrayBuilders in projectToSiblingFlavors. The dictionary itself will be automatically freed at the end of this scope.
projectToSiblingFlavors.FreeValues();

return newSolution;
Expand Down

0 comments on commit fc72d2e

Please sign in to comment.