File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -825,14 +825,6 @@ static void zend_new_thread_end_handler(THREAD_T thread_id) /* {{{ */
825825 zend_timer_init ();
826826}
827827/* }}} */
828-
829- static void zend_thread_shutdown_handler (void ) { /* {{{ */
830- zend_interned_strings_dtor ();
831- #ifdef ZEND_TIMERS
832- zend_timer_shutdown ();
833- #endif
834- }
835- /* }}} */
836828#endif
837829
838830#if defined(__FreeBSD__ ) || defined(__DragonFly__ )
@@ -1036,7 +1028,7 @@ void zend_startup(zend_utility_functions *utility_functions) /* {{{ */
10361028
10371029#ifdef ZTS
10381030 tsrm_set_new_thread_end_handler (zend_new_thread_end_handler );
1039- tsrm_set_shutdown_handler (zend_thread_shutdown_handler );
1031+ tsrm_set_shutdown_handler (zend_interned_strings_dtor );
10401032#endif
10411033}
10421034/* }}} */
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ void shutdown_executor(void) /* {{{ */
407407 zend_shutdown_executor_values (fast_shutdown );
408408
409409 zend_weakrefs_shutdown ();
410+ zend_timer_shutdown ();
410411 zend_fiber_shutdown ();
411412
412413 zend_try {
You can’t perform that action at this time.
0 commit comments