mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
task: explicitly state that TaskTracker does not abort tasks on Drop (#7223)
This commit is contained in:
@@ -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].
|
||||
|
||||
Reference in New Issue
Block a user