mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Cleanup (move preload_shutdown() call to better place)
This commit is contained in:
parent
26587a95c0
commit
4f57c1e029
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user