mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Give the child more time to quit
This commit is contained in:
parent
e36a172144
commit
ab5fdad3cb
@ -223,13 +223,13 @@ static int run_dual_client_tests(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Give the child a chance to finish */
|
/* Give the child a chance to finish */
|
||||||
usleep(10000);
|
usleep(100000);
|
||||||
|
|
||||||
// Wait for the child to finish up
|
// Wait for the child to finish up
|
||||||
int wstatus;
|
int wstatus;
|
||||||
while (waitpid(child, &wstatus, WNOHANG) == 0) {
|
while (waitpid(child, &wstatus, WNOHANG) == 0) {
|
||||||
LOG_MSG("...Waiting for child to quit...\n");
|
LOG_MSG("...Waiting for child to quit...\n");
|
||||||
usleep(10000);
|
usleep(100000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Verify that gamemode is now innactive */
|
/* Verify that gamemode is now innactive */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user