I get the desire for `task::spawn` join handle to mirror `thread::spawn`, but I think thread does that because there's no way to sanely cancel a thread. It's not actually the right design.
-
Show this thread
It's too easy to "leak" tasks that you no longer need. I think instead dropping should cancel, unless you call `handle.detach()`.
0 replies
1 retweet
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.