[lldb] One more fix for the MonitorChildProcess patch (D120425)

This commit is contained in:
Pavel Labath 2022-02-24 12:05:42 +01:00
parent 25bc684603
commit b5eeb8873a

View file

@ -70,7 +70,7 @@ MonitorThread(const Host::MonitorChildProcessCallback &callback,
::WaitForSingleObject(process_handle, INFINITE);
::GetExitCodeProcess(process_handle, &exit_code);
callback(::GetProcessId(process_handle), true, 0, exit_code);
callback(::GetProcessId(process_handle), 0, exit_code);
::CloseHandle(process_handle);
return {};
}