mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
task: explicitly state that TaskTracker
does not abort tasks on Drop (#7223)
This commit is contained in:
parent
f339587b27
commit
d83ba30d8d
@ -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].
|
||||
|
Loading…
x
Reference in New Issue
Block a user