1
0
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:
Jérôme Loyet
2010-11-10 23:54:14 +00:00
parent 29280516e2
commit a2c55a138d

View File

@@ -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();