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(
311
311
return false;
312
312
}
313
313
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 );
315
315
shutdown_coroutine -> internal_entry = shutdown_destructors_async ;
316
316
shutdown_coroutine -> extended_dispose = shutdown_destructors_coroutine_dtor ;
317
317
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ static bool store_call_destructors_context_switch_handler(
102
102
return false;
103
103
}
104
104
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 );
106
106
shutdown_coroutine -> internal_entry = store_call_destructors_entry ;
107
107
shutdown_coroutine -> extended_dispose = store_call_destructors_coroutine_dtor ;
108
108
You can’t perform that action at this time.
0 commit comments