mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Do not kill children process in pre-fork mode when parent process quit.
This commit is contained in:
parent
1f46bec9ce
commit
01a1c3067c
1 changed files with 2 additions and 2 deletions
|
@ -2864,8 +2864,8 @@ static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer, LSAPI_Re
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sigaction( SIGUSR1, &old_usr1, 0 );
|
sigaction( SIGUSR1, &old_usr1, 0 );
|
||||||
kill( -getpgrp(), SIGUSR1 );
|
//kill( -getpgrp(), SIGUSR1 );
|
||||||
lsapi_all_children_must_die(); /* Sorry, children ;-) */
|
//lsapi_all_children_must_die(); /* Sorry, children ;-) */
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue