提交 b13b71e3 编写于 作者: C CyrusNajmabadi 提交者: GitHub

Merge pull request #15115 from CyrusNajmabadi/cancellationCrash

Do not crash on cancellation in FindReferences.
Fixes #15113
......@@ -133,7 +133,10 @@ private IStreamingFindReferencesPresenter GetStreamingPresenter()
await context.OnCompletedAsync().ConfigureAwait(false);
}
}
catch (Exception e) when (FatalError.ReportUnlessCanceled(e))
catch (OperationCanceledException)
{
}
catch (Exception e) when (FatalError.ReportWithoutCrash(e))
{
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册