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

This commit is contained in:
Jamie 2025-03-14 15:48:54 +01:00 committed by GitHub
parent f339587b27
commit d83ba30d8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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].