tokio_util::sync::cancellation_token::tree_node

Function decrease_handle_refcount

Source
pub(crate) fn decrease_handle_refcount(node: &Arc<TreeNode>)
Expand description

Decreases the reference count of handles.

Once no handle is left, we can remove the node from the tree and connect its parent directly to its children.