mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-23 18:06:18 +00:00
lib/drmtest: double-check that we clean up helper processes
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
e73c1a07f3
commit
57e6746181
@ -967,8 +967,11 @@ static void fork_helper_exit_handler(int sig)
|
||||
|
||||
kill(pid, SIGQUIT);
|
||||
waitpid(pid, &status, 0);
|
||||
helper_process_count--;
|
||||
}
|
||||
}
|
||||
|
||||
assert(helper_process_count == 0);
|
||||
}
|
||||
|
||||
bool __igt_fork_helper(struct igt_helper_process *proc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user