We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26587a9 commit 4f57c1eCopy full SHA for 4f57c1e
ext/opcache/ZendAccelerator.c
@@ -567,10 +567,6 @@ static void accel_copy_permanent_strings(zend_new_interned_string_func_t new_int
567
Bucket *p, *q;
568
HashTable *ht;
569
570
- if (ZCSG(preload_script)) {
571
- preload_shutdown();
572
- }
573
-
574
/* empty string */
575
zend_empty_string = new_interned_string(zend_empty_string);
576
for (j = 0; j < 256; j++) {
@@ -774,6 +770,10 @@ static void accel_use_shm_interned_strings(void)
774
770
775
771
static void accel_use_permanent_interned_strings(void)
776
772
{
773
+ if (ZCSG(preload_script)) {
+ preload_shutdown();
+ }
+
777
accel_copy_permanent_strings(accel_replace_string_by_process_permanent);
778
}
779
0 commit comments