mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Make sure we don't leave a hanging gamemode request from the child process
Otherwise other tests might have to wait for the reaper thread to clean it up
This commit is contained in:
@ -627,6 +627,7 @@ static pid_t run_tests_on_process_tree(int innactive, int active, int (*func)(pi
|
|||||||
fail |= (active != func(info[i].this));
|
fail |= (active != func(info[i].this));
|
||||||
if (fail) {
|
if (fail) {
|
||||||
LOG_ERROR("values for threads were not set correctly!\n");
|
LOG_ERROR("values for threads were not set correctly!\n");
|
||||||
|
gamemode_request_end();
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user