With dmd -O -inline, there is a chance it will be collected. Inlining is key here.
never mind, GC.addRoot() looks more trustworthy, anyway :)
eugene via Digitalmars-d-learn Thu, 23 Sep 2021 11:50:55 -0700
With dmd -O -inline, there is a chance it will be collected. Inlining is key here.
never mind, GC.addRoot() looks more trustworthy, anyway :)