| ... | @@ -15321,7 +15321,7 @@ fn childKillWindows(t: *Threaded, child: *process.Child, exit_code: windows.UINT | ... | @@ -15321,7 +15321,7 @@ fn childKillWindows(t: *Threaded, child: *process.Child, exit_code: windows.UINT |
| 15321 | const handle = child.id.?; | 15321 | const handle = child.id.?; |
| 15322 | _ = windows.ntdll.RtlReportSilentProcessExit(handle, @enumFromInt(exit_code)); | 15322 | _ = windows.ntdll.RtlReportSilentProcessExit(handle, @enumFromInt(exit_code)); |
| 15323 | switch (windows.ntdll.NtTerminateProcess(handle, @enumFromInt(exit_code))) { | 15323 | switch (windows.ntdll.NtTerminateProcess(handle, @enumFromInt(exit_code))) { |
| 15324 | .SUCCESS => { | 15324 | .SUCCESS, .PROCESS_IS_TERMINATING => { |
| 15325 | const infinite_timeout: windows.LARGE_INTEGER = std.math.minInt(windows.LARGE_INTEGER); | 15325 | const infinite_timeout: windows.LARGE_INTEGER = std.math.minInt(windows.LARGE_INTEGER); |
| 15326 | _ = windows.ntdll.NtWaitForSingleObject(handle, windows.FALSE, &infinite_timeout); | 15326 | _ = windows.ntdll.NtWaitForSingleObject(handle, windows.FALSE, &infinite_timeout); |
| 15327 | childCleanupWindows(child); | 15327 | childCleanupWindows(child); |