task: explicitly state that TaskTracker does not abort tasks on Drop (#7223)

This commit is contained in:
Jamie
2025-03-14 14:48:54 +00:00
committed by GitHub
parent f339587b27
commit d83ba30d8d
+2
View File
@@ -53,6 +53,8 @@ use tokio::{
/// `TaskTracker`, this does not happen. Once tasks exit, they are immediately removed from the
/// `TaskTracker`.
///
/// Note that unlike [`JoinSet`], dropping a `TaskTracker` does not abort the tasks.
///
/// # Examples
///
/// For more examples, please see the topic page on [graceful shutdown].