mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
Renumber the comments in php_request_shutdown() to be in order.
What, me OCD?
This commit is contained in:
parent
0cb38a3d26
commit
de3b9bc77c
16
main/main.c
16
main/main.c
@ -1793,7 +1793,7 @@ void php_request_shutdown(void *dummy)
|
||||
}
|
||||
} zend_end_try();
|
||||
|
||||
/* 7.5 free last error information */
|
||||
/* 8. free last error information */
|
||||
if (PG(last_error_message)) {
|
||||
free(PG(last_error_message));
|
||||
PG(last_error_message) = NULL;
|
||||
@ -1803,34 +1803,34 @@ void php_request_shutdown(void *dummy)
|
||||
PG(last_error_file) = NULL;
|
||||
}
|
||||
|
||||
/* 7. Shutdown scanner/executor/compiler and restore ini entries */
|
||||
/* 9. Shutdown scanner/executor/compiler and restore ini entries */
|
||||
zend_deactivate(TSRMLS_C);
|
||||
|
||||
/* 8. Call all extensions post-RSHUTDOWN functions */
|
||||
/* 10. Call all extensions post-RSHUTDOWN functions */
|
||||
zend_try {
|
||||
zend_post_deactivate_modules(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
/* 9. SAPI related shutdown (free stuff) */
|
||||
/* 11. SAPI related shutdown (free stuff) */
|
||||
zend_try {
|
||||
sapi_deactivate(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
/* 9.5 free virtual CWD memory */
|
||||
/* 12. free virtual CWD memory */
|
||||
virtual_cwd_deactivate(TSRMLS_C);
|
||||
|
||||
/* 10. Destroy stream hashes */
|
||||
/* 13. Destroy stream hashes */
|
||||
zend_try {
|
||||
php_shutdown_stream_hashes(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
||||
/* 11. Free Willy (here be crashes) */
|
||||
/* 14. Free Willy (here be crashes) */
|
||||
zend_try {
|
||||
shutdown_memory_manager(CG(unclean_shutdown) || !report_memleaks, 0 TSRMLS_CC);
|
||||
} zend_end_try();
|
||||
zend_interned_strings_restore(TSRMLS_C);
|
||||
|
||||
/* 12. Reset max_execution_time */
|
||||
/* 15. Reset max_execution_time */
|
||||
zend_try {
|
||||
zend_unset_timeout(TSRMLS_C);
|
||||
} zend_end_try();
|
||||
|
Loading…
Reference in New Issue
Block a user