mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
fix crash on restarting static PHP having session modules loaded
This commit is contained in:
@@ -1859,7 +1859,7 @@ PHP_MSHUTDOWN_FUNCTION(session)
|
||||
#endif
|
||||
|
||||
ps_serializers[PREDEFINED_SERIALIZERS].name = NULL;
|
||||
ps_modules[PREDEFINED_MODULES] = NULL;
|
||||
memset(&ps_modules[PREDEFINED_MODULES], 0, (MAX_MODULES-PREDEFINED_MODULES)*sizeof(ps_module *));
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user