Skip to main content

unregister_current_thread_task_host

Function unregister_current_thread_task_host 

Source
pub fn unregister_current_thread_task_host(
    registration_high: u32,
    registration_low: u32,
)
Expand description

Evict exactly one native host installed by registerCurrentThreadTaskHost. Managed workerd disposal uses this before environment cleanup so a later throwing cleanup hook cannot leave the process-global driver selected.