https://issues.dlang.org/show_bug.cgi?id=649
badlink <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #6 from badlink <[email protected]> --- The program exits normally on Arch Linux (DMD 2.067.0-b1) I have updated the test case: import core.thread; import std.string; extern(C) uint sleep(uint secs); class Test { Thread thr; void printStats() { sleep(1); char[] r; r ~= "a"; } this() { thr = new Thread(&printStats); thr.start(); } ~this() { thr.join(); } } void main() { Test t = new Test(); destroy(t); } --
