提交 c063ab3b 编写于 作者: J Jakub Majocha 提交者: Kevin Ransom (msft)

Make projectContext changes on foreground thread (#2537)

* projectContext changes on foreground thread

* does not do anything

* cosmetics
上级 bc2e8c99
......@@ -294,7 +294,6 @@ and
/// Sync the information for the project
member this.SyncProject(project: AbstractProject, projectContext: IWorkspaceProjectContext, site: IProjectSite, forceUpdate) =
async {
let hashSetIgnoreCase x = new HashSet<string>(x, StringComparer.OrdinalIgnoreCase)
let updatedFiles = site.SourceFilesOnDisk() |> hashSetIgnoreCase
let workspaceFiles = project.GetCurrentDocuments() |> Seq.map(fun file -> file.FilePath) |> hashSetIgnoreCase
......@@ -314,7 +313,6 @@ and
// update the cached options
if updated then
projectInfoManager.UpdateProjectInfo(project.Id, site, project.Workspace)
} |> Async.Start
member this.SetupProjectFile(siteProvider: IProvideProjectSite, workspace: VisualStudioWorkspaceImpl) =
let rec setup (site: IProjectSite) =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册