fix for zombie processes sometimes appearing

master
Jay Sorg 6 years ago committed by jsorg71
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…
Cancel
Save