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.
2 parents d45f4ce + 83bbea7 commit 4fce8c8Copy full SHA for 4fce8c8
ext/opcache/jit/zend_jit.c
@@ -3553,7 +3553,7 @@ ZEND_EXT_API void zend_jit_activate(void)
3553
3554
ZEND_EXT_API void zend_jit_deactivate(void)
3555
{
3556
- if (zend_jit_profile_counter) {
+ if (zend_jit_profile_counter && !CG(unclean_shutdown)) {
3557
zend_class_entry *ce;
3558
3559
zend_shared_alloc_lock();
@@ -3571,9 +3571,9 @@ ZEND_EXT_API void zend_jit_deactivate(void)
3571
zend_jit_protect();
3572
SHM_PROTECT();
3573
zend_shared_alloc_unlock();
3574
-
3575
- zend_jit_profile_counter = 0;
3576
}
+
+ zend_jit_profile_counter = 0;
3577
3578
3579
static void zend_jit_restart_preloaded_op_array(zend_op_array *op_array)
0 commit comments