未验证 提交 c261d532 编写于 作者: S Sam Harwell 提交者: GitHub

Merge pull request #28518 from sharwell/wait-for-exit

Wait for graceful close before terminating process
......@@ -270,7 +270,10 @@ private static DTE GetDebuggerHostDte()
private void CloseHostProcess()
{
_inProc.Quit();
IntegrationHelper.KillProcess(HostProcess);
if (!HostProcess.WaitForExit(milliseconds: 10000))
{
IntegrationHelper.KillProcess(HostProcess);
}
}
private void CloseRemotingService(bool allowInProcCalls)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册