mirror of
https://github.com/php/php-src.git
synced 2026-03-29 11:42:17 +02:00
- don't call shutdown functions after child ends softly, let the master process call them
This commit is contained in:
@@ -1917,8 +1917,10 @@ fastcgi_request_done:
|
||||
out:
|
||||
|
||||
SG(server_context) = NULL;
|
||||
php_module_shutdown(TSRMLS_C);
|
||||
sapi_shutdown();
|
||||
if (parent) {
|
||||
php_module_shutdown(TSRMLS_C);
|
||||
sapi_shutdown();
|
||||
}
|
||||
|
||||
#ifdef ZTS
|
||||
tsrm_shutdown();
|
||||
|
||||
Reference in New Issue
Block a user