Skip to content

Commit d83ba30

Browse files
authored
task: explicitly state that TaskTracker does not abort tasks on Drop (#7223)
1 parent f339587 commit d83ba30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tokio-util/src/task/task_tracker.rs

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ use tokio::{
5353
/// `TaskTracker`, this does not happen. Once tasks exit, they are immediately removed from the
5454
/// `TaskTracker`.
5555
///
56+
/// Note that unlike [`JoinSet`], dropping a `TaskTracker` does not abort the tasks.
57+
///
5658
/// # Examples
5759
///
5860
/// For more examples, please see the topic page on [graceful shutdown].

0 commit comments

Comments
 (0)