-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
It appears that dropping an async_std::task::JoinHandle
will currently detach the task and allow it to keep running. Presumably this is intended behaviour in order to match std::thread::JoinHandle
, it should probably be documented with a paragraph like that from std
:
A
JoinHandle
detaches the associated thread when it is dropped, which means that there is no longer any handle to thread and no way tojoin
on it.
DCjanus
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers