fn mark_current_exited()
Expand description

Change the status of current Running task into Exited.