Destructors vs. Finalizers
Guillaume Piolat via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 26 05:19:15 PDT 2017
On Wednesday, 26 July 2017 at 02:58:00 UTC, Mike Parker wrote:
> When cleaning up, the GC will ensure that all destructors are
> run where they exist, followed by all finalizers. And destroy
> would be changed to call rt_destruct instead of rt_finalize.
>
> Thoughts?
I don't get the distinction between destructors and "finalizers"
but imho the problem is very much that the GC is calling ~this.
More information about the Digitalmars-d
mailing list