File tree 2 files changed +2
-9
lines changed 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) /* {{{ */
825
825
zend_timer_init ();
826
826
}
827
827
/* }}} */
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
- /* }}} */
836
828
#endif
837
829
838
830
#if defined(__FreeBSD__ ) || defined(__DragonFly__ )
@@ -1036,7 +1028,7 @@ void zend_startup(zend_utility_functions *utility_functions) /* {{{ */
1036
1028
1037
1029
#ifdef ZTS
1038
1030
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 );
1040
1032
#endif
1041
1033
}
1042
1034
/* }}} */
Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ void shutdown_executor(void) /* {{{ */
407
407
zend_shutdown_executor_values (fast_shutdown );
408
408
409
409
zend_weakrefs_shutdown ();
410
+ zend_timer_shutdown ();
410
411
zend_fiber_shutdown ();
411
412
412
413
zend_try {
You can’t perform that action at this time.
0 commit comments