Commit 86ab60c3 authored by Ben Gamari's avatar Ben Gamari 🐢

Revert "Check return value of QueryInformationJobObject"

This reverts commit 062a69e2.
parent e9b950c2
...@@ -875,11 +875,6 @@ waitForJobCompletion ( HANDLE hJob ) ...@@ -875,11 +875,6 @@ waitForJobCompletion ( HANDLE hJob )
sizeof(JOBOBJECT_BASIC_PROCESS_ID_LIST), sizeof(JOBOBJECT_BASIC_PROCESS_ID_LIST),
NULL); NULL);
if (!success) {
maperrno();
return false;
}
if (!success && GetLastError() == ERROR_MORE_DATA) { if (!success && GetLastError() == ERROR_MORE_DATA) {
process_count *= 2; process_count *= 2;
free(pid_list); free(pid_list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment