mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
Merge d973d8196046b120233cec1d03bead91294a97a3 into 5e82e4f305dbf3760b6f6e3ba8fb70c3de30a6b9
This commit is contained in:
commit
0424e1fe8b
@ -41,8 +41,12 @@
|
||||
static void handle_SIGCHLD(int sig)
|
||||
{
|
||||
int status = 0;
|
||||
int pid = 0;
|
||||
|
||||
do {
|
||||
pid = waitpid(-1, &status, WNOHANG);
|
||||
} while (pid > 0);
|
||||
|
||||
wait(&status);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user