Clean up child processes from proxy type exec.
This commit is contained in:
parent
9b2eaebdf6
commit
7da999f4ae
1 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,12 @@ void terminate_connection(connection_t *c, bool report) {
|
||||||
|
|
||||||
if(outgoing)
|
if(outgoing)
|
||||||
do_outgoing_connection(outgoing);
|
do_outgoing_connection(outgoing);
|
||||||
|
|
||||||
|
#ifndef HAVE_MINGW
|
||||||
|
/* Clean up dead proxy processes */
|
||||||
|
|
||||||
|
while(waitpid(-1, NULL, WNOHANG) > 0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue