fix for zombie processes sometimes appearing
This commit is contained in:
parent
acd05f365f
commit
f763cb3788
@ -123,7 +123,11 @@ xrdp_shutdown(int sig)
|
||||
void
|
||||
xrdp_child(int sig)
|
||||
{
|
||||
g_waitchild();
|
||||
int safety;
|
||||
|
||||
for (safety = 0; (g_waitchild() >= 0) && (safety <= 10); safety++)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user