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 22735b3 + bbf2fc9 commit 83bbea7Copy full SHA for 83bbea7
ext/opcache/jit/zend_jit.c
@@ -5104,7 +5104,7 @@ ZEND_EXT_API void zend_jit_activate(void)
5104
5105
ZEND_EXT_API void zend_jit_deactivate(void)
5106
{
5107
- if (zend_jit_profile_counter) {
+ if (zend_jit_profile_counter && !CG(unclean_shutdown)) {
5108
zend_class_entry *ce;
5109
5110
zend_shared_alloc_lock();
@@ -5122,9 +5122,9 @@ ZEND_EXT_API void zend_jit_deactivate(void)
5122
zend_jit_protect();
5123
SHM_PROTECT();
5124
zend_shared_alloc_unlock();
5125
-
5126
- zend_jit_profile_counter = 0;
5127
}
+
+ zend_jit_profile_counter = 0;
5128
5129
5130
static void zend_jit_restart_preloaded_op_array(zend_op_array *op_array)
0 commit comments