Skip to content
代码片段 群组 项目
提交 8cc2a5ea 编辑于 作者: Jason Malinowski's avatar Jason Malinowski
浏览文件

Workaround IExperimentationService having a UI thread dependency

Right now we are seeing deadlocks where MEF is trying to create
the RoslynVisualStudioWorkspace on a background thread, and that
deadlocks because the IExperimentationService it tries to use has a
UI thread dependency. This breaks that specific cycle by avoiding using
the IExperimentationService until on the UI thread -- we know we can't
be asked for document options until we have documents, and that can't
happen until we get projects. Thankfully, the creation of projects
are still UI affinitized so we can initialize it there.
上级 0d06776a
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册