I hate class destructors with a burning passion

Jack jckj33 at gmail.com
Mon Jun 7 12:37:02 UTC 2021


On Sunday, 6 June 2021 at 11:54:40 UTC, Mathias LANG wrote:
> Over the past few months, more than half of the critical bug 
> we've encountered which were not due to our own code are 
> related to destructors. Specifically, destructors being invoked 
> by the GC.
>
> [...]

Should not we *not* using this?

https://dlang.org/blog/2021/03/04/symphony-of-destruction-structs-classes-and-the-gc-part-one/


More information about the Digitalmars-d mailing list