mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
Cleanup (move preload_shutdown() call to better place)
This commit is contained in:
@@ -567,10 +567,6 @@ static void accel_copy_permanent_strings(zend_new_interned_string_func_t new_int
|
||||
Bucket *p, *q;
|
||||
HashTable *ht;
|
||||
|
||||
if (ZCSG(preload_script)) {
|
||||
preload_shutdown();
|
||||
}
|
||||
|
||||
/* empty string */
|
||||
zend_empty_string = new_interned_string(zend_empty_string);
|
||||
for (j = 0; j < 256; j++) {
|
||||
@@ -774,6 +770,10 @@ static void accel_use_shm_interned_strings(void)
|
||||
|
||||
static void accel_use_permanent_interned_strings(void)
|
||||
{
|
||||
if (ZCSG(preload_script)) {
|
||||
preload_shutdown();
|
||||
}
|
||||
|
||||
accel_copy_permanent_strings(accel_replace_string_by_process_permanent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user