Skip to content

Commit 1521caf

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: ext/opcache/zend_jit: call TSRM dtor before unloading opcache.so (#10533)
2 parents 9d954ef + d948b85 commit 1521caf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5055,7 +5055,9 @@ ZEND_EXT_API void zend_jit_shutdown(void)
50555055
zend_jit_perf_jitdump_close();
50565056
}
50575057
#endif
5058-
#ifndef ZTS
5058+
#ifdef ZTS
5059+
ts_free_id(jit_globals_id);
5060+
#else
50595061
zend_jit_trace_free_caches();
50605062
#endif
50615063
}

0 commit comments

Comments
 (0)