[Issue 20680] core.thread.Thread leaks OS handle when not joined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 17 14:45:09 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=20680

Steven Schveighoffer <schveiguy at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at gmail.com

--- Comment #2 from Steven Schveighoffer <schveiguy at gmail.com> ---
When linking to github, use the `y` command to change the link to a hash-based
link, otherwise your links get stale. 

For reference, here are the two links:

https://github.com/dlang/druntime/blob/19ef6336d1940e770d696dc71f7605eb3f618a85/src/core/thread/osthread.d#L304
https://github.com/dlang/druntime/blob/19ef6336d1940e770d696dc71f7605eb3f618a85/src/core/thread/osthread.d#L697

Can you test again? the code has changed quite a bit since then, the destructor
looks rewritten.

--


More information about the Digitalmars-d-bugs mailing list