Skip to content

Commit 41da537

Browse files
committed
Merge branch 'master' of https://github.com/DylanArnold/php-src
* 'master' of https://github.com/DylanArnold/php-src: Call php_module_shutdown() for php-fpm child processes
2 parents aed56fc + a911fbc commit 41da537

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sapi/fpm/fpm/fpm_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,8 +1982,9 @@ consult the installation file that came with this distribution, or visit \n\
19821982
out:
19831983

19841984
SG(server_context) = NULL;
1985+
php_module_shutdown(TSRMLS_C);
1986+
19851987
if (parent) {
1986-
php_module_shutdown(TSRMLS_C);
19871988
sapi_shutdown();
19881989
}
19891990

0 commit comments

Comments
 (0)