diff --git a/daemon/gamemode-tests.c b/daemon/gamemode-tests.c index 8e0ed4f..3129935 100644 --- a/daemon/gamemode-tests.c +++ b/daemon/gamemode-tests.c @@ -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)); if (fail) { LOG_ERROR("values for threads were not set correctly!\n"); + gamemode_request_end(); exit(-1); }