The GC (agian)

FeepingCreature feepingcreature at gmail.com
Wed Nov 24 09:31:05 UTC 2021


On Wednesday, 24 November 2021 at 09:29:07 UTC, FeepingCreature 
wrote:
> To be fair, it only does that if you explicitly register the 
> non-GC memory with `GC.addRoot`. If you don't do this, GC 
> memory can indeed be freed prematurely while still being 
> referenced from non-GC memory.

`GC.addRange`, sorry.


More information about the Digitalmars-d mailing list