This handle will always be closed few lines later, resulting in
an error for the second CloseHandle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235177
91177308-0d34-0410-b5e6-
96231b3b80d8
return WaitResult;
}
WaitForSingleObject(PI.ProcessHandle, INFINITE);
return WaitResult;
}
WaitForSingleObject(PI.ProcessHandle, INFINITE);
- CloseHandle(PI.ProcessHandle);
} else {
// Non-blocking wait.
return ProcessInfo();
} else {
// Non-blocking wait.
return ProcessInfo();