mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Callback has to be restored in MSHUTDOWN
This commit is contained in:
parent
fdd7379686
commit
336a8e1943
@ -2221,6 +2221,9 @@ static PHP_MSHUTDOWN_FUNCTION(session) /* {{{ */
|
||||
PHP_MSHUTDOWN(ps_mm) (SHUTDOWN_FUNC_ARGS_PASSTHRU);
|
||||
#endif
|
||||
|
||||
/* restore the orig callback */
|
||||
php_rfc1867_callback = php_session_rfc1867_orig_callback;
|
||||
|
||||
ps_serializers[PREDEFINED_SERIALIZERS].name = NULL;
|
||||
memset(&ps_modules[PREDEFINED_MODULES], 0, (MAX_MODULES-PREDEFINED_MODULES)*sizeof(ps_module *));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user