Do not kill children process in pre-fork mode when parent process quit.

This commit is contained in:
George Wang 2014-07-10 14:59:25 -04:00
parent 1f46bec9ce
commit 01a1c3067c

View File

@ -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;
} }