* 'master' of https://github.com/DylanArnold/php-src:
  Call php_module_shutdown() for php-fpm child processes
This commit is contained in:
Michael Wallner 2013-10-21 12:04:06 +02:00
commit 41da537614

View File

@ -1982,8 +1982,9 @@ fastcgi_request_done:
out: out:
SG(server_context) = NULL; SG(server_context) = NULL;
if (parent) {
php_module_shutdown(TSRMLS_C); php_module_shutdown(TSRMLS_C);
if (parent) {
sapi_shutdown(); sapi_shutdown();
} }