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 dcccdc4 commit fdb7fc6Copy full SHA for fdb7fc6
ext/opcache/ZendAccelerator.c
@@ -4255,9 +4255,10 @@ static int accel_finish_startup(void)
4255
4256
orig_report_memleaks = PG(report_memleaks);
4257
PG(report_memleaks) = 0;
4258
- php_request_shutdown(NULL);
+ php_request_shutdown(NULL); /* calls zend_shared_alloc_unlock(); */
4259
PG(report_memleaks) = orig_report_memleaks;
4260
} else {
4261
+ zend_shared_alloc_unlock();
4262
ret = FAILURE;
4263
}
4264
#ifdef ZEND_SIGNALS
@@ -4274,8 +4275,6 @@ static int accel_finish_startup(void)
4274
4275
sapi_module.ub_write = orig_ub_write;
4276
sapi_module.flush = orig_flush;
4277
- zend_shared_alloc_unlock();
4278
-
4279
sapi_activate();
4280
4281
return ret;
0 commit comments