Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit b5b1573

Browse files
committed
Fix: Doubled members of project types in Class Browser.
1 parent c8755f9 commit b5b1573

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Main/Base/Project/Parser/ProjectContentContainer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ public void ParseInformationUpdated(IUnresolvedFile oldFile, IUnresolvedFile new
246246
projectContent = projectContent.RemoveFiles(oldFile.FileName);
247247
serializedProjectContentIsUpToDate = false;
248248
SD.ParserService.InvalidateCurrentSolutionSnapshot();
249-
SD.MainThread.InvokeAsyncAndForget(delegate { assemblyModel.Update(oldFile, newFile); });
249+
if (!SD.ParserService.LoadSolutionProjectsThread.IsRunning)
250+
SD.MainThread.InvokeAsyncAndForget(delegate { assemblyModel.Update(oldFile, newFile); });
250251
}
251252
}
252253
}

0 commit comments

Comments
 (0)