Garbage collection
James Gray
test at test.com
Sat Jun 27 16:12:00 UTC 2020
On Saturday, 27 June 2020 at 14:49:34 UTC, James Gray wrote:
> On Saturday, 27 June 2020 at 14:12:09 UTC, kinke wrote:
>> [...]
>
> Thank you for doing this. I hope my example doesn't obscure
> what you show here.
> (I borrowed some of your code).
>
> [...]
In case it helps, setting all the next and previous pointers in
the link list to null allows the garbage collector to collect in
the above code.
More information about the Digitalmars-d-learn
mailing list