提交 d27a0114 编写于 作者: C CyrusNajmabadi

Move code.

上级 b55f3c40
......@@ -467,15 +467,15 @@ public sealed override Task ReportProgressAsync(int current, int maximum)
// when thousands of SetProgress calls are made. So, for now, we're removing
// the progress update until the FindRefs window fixes that perf issue.
#if false
try
{
// The original FAR window exposed a SetProgress(double). Ensure that we
// don't crash if this code is running on a machine without the new API.
_findReferencesWindow.SetProgress(current, maximum);
}
catch
{
}
try
{
// The original FAR window exposed a SetProgress(double). Ensure that we
// don't crash if this code is running on a machine without the new API.
_findReferencesWindow.SetProgress(current, maximum);
}
catch
{
}
#endif
return SpecializedTasks.EmptyTask;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册