File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ static bool shutdown_destructors_context_switch_handler(
311311 return false;
312312 }
313313
314- zend_coroutine_t * shutdown_coroutine = ZEND_ASYNC_SPAWN_WITH_SCOPE_EX (ZEND_ASYNC_MAIN_SCOPE , 1 );
314+ zend_coroutine_t * shutdown_coroutine = ZEND_ASYNC_SPAWN_WITH_SCOPE_EX (ZEND_ASYNC_MAIN_SCOPE , ZEND_COROUTINE_HI_PRIORITY );
315315 shutdown_coroutine -> internal_entry = shutdown_destructors_async ;
316316 shutdown_coroutine -> extended_dispose = shutdown_destructors_coroutine_dtor ;
317317
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ static bool store_call_destructors_context_switch_handler(
102102 return false;
103103 }
104104
105- zend_coroutine_t * shutdown_coroutine = ZEND_ASYNC_SPAWN_WITH_SCOPE_EX (ZEND_ASYNC_MAIN_SCOPE , 1 );
105+ zend_coroutine_t * shutdown_coroutine = ZEND_ASYNC_SPAWN_WITH_SCOPE_EX (ZEND_ASYNC_MAIN_SCOPE , ZEND_COROUTINE_HI_PRIORITY );
106106 shutdown_coroutine -> internal_entry = store_call_destructors_entry ;
107107 shutdown_coroutine -> extended_dispose = store_call_destructors_coroutine_dtor ;
108108
You can’t perform that action at this time.
0 commit comments