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