Handling referencing class parent instances in a GC friendly way.
realhet
real_het at hotmail.com
Mon Nov 30 14:51:22 UTC 2020
On Monday, 30 November 2020 at 14:36:08 UTC, FeepingCreature
wrote:
> On Monday, 30 November 2020 at 14:33:22 UTC, realhet wrote:
> ...
> Though you may want to do `items = null;` too.
I just forgot 1 of three things, thx for pointing it out.
And I also forget to notify the parent to remove the reference
from its items list.
More information about the Digitalmars-d-learn
mailing list