clear_current_task

Function clear_current_task 

Source
pub fn clear_current_task()
Expand description

Clear current task context

Called when leaving task scope to prevent attribution of allocations to completed tasks.