Garbage collection

Stanislav Blinov stanislav.blinov at gmail.com
Sat Jun 27 15:27:34 UTC 2020


On Saturday, 27 June 2020 at 14:12:09 UTC, kinke wrote:

> Note that I explicitly clear the `str` slice before 
> GC.collect(), so that the stack shouldn't contain any refs to 
> the fat string anymore.

Hrm... What happens if you call collect() twice?


More information about the Digitalmars-d-learn mailing list