Garbage Collector : Ignoring a reference
ciechowoj via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Apr 26 06:01:26 PDT 2016
On Tuesday, 26 April 2016 at 09:07:59 UTC, Begah wrote:
> How could i tell the garbage collector to ignore the reference
> in the hashmap and to free it if there isn't any other
> reference that in my hashmap?
You could always zero the reference in the hashmap, as it won't
be valid after reload anyway...
More information about the Digitalmars-d-learn
mailing list