Threads not garbage collected ?

Guillaume Piolat via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 22 06:51:24 PST 2017


On Wednesday, 22 February 2017 at 05:28:17 UTC, Alex wrote:
> void main()
> {
> 	auto a = new A;
> 	delete a;		//need this or the program hangs
> }
>

https://p0nce.github.io/d-idioms/#The-trouble-with-class-destructors




More information about the Digitalmars-d mailing list