Skip to content

Commit

Permalink
Doing multiple builds in a row would cause Visual Studio to OOM
Browse files Browse the repository at this point in the history
ClearAllErrors was the only method calling this method and would never break out.
  • Loading branch information
davkean committed Dec 29, 2018
1 parent 811cb75 commit a7e646f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public async Task OpenContextForWriteAsync(Func<IWorkspaceProjectContextAccessor
try
{
await _activeHost.Value.OpenContextForWriteAsync(action);
return;
}
catch (ActiveProjectConfigurationChangedException)
{ // Host was unloaded because configuration changed, retry on new config
Expand Down

0 comments on commit a7e646f

Please sign in to comment.