Having a strange issue with std.net.curl.HTTP as a struct dependency

crimaniak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 12 08:01:27 PDT 2017


On Wednesday, 12 July 2017 at 13:47:06 UTC, Adam D. Ruppe wrote:
>
> This tells me the problem is in the collection order at the end 
> of the program.
...
> So I'd say the answer is prolly to keep HTTP away from the GC. 
> Manually free its arrays, or keep them outside arrays in the 
> first place.

I'd try also calling GC.collect() manually before the exit.



More information about the Digitalmars-d-learn mailing list