Skip to content

Commit c053f12

Browse files
author
Ben Mansell
committed
Fix FastCGI shutdown for MacOSX, it didn't want to die.
1 parent 4dc55c1 commit c053f12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sapi/fastcgi/fastcgi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,9 @@ void fastcgi_cleanup(int signal)
312312

313313
/* Kill all the processes in our process group */
314314
kill( -pgroup, SIGTERM );
315+
316+
/* We should exit at this point, but MacOSX doesn't seem to */
317+
exit( 0 );
315318
}
316319

317320

0 commit comments

Comments
 (0)