Odd behavior found in GC when terminating application
Meta
jared771 at gmail.com
Fri Jan 5 17:14:58 UTC 2018
On Friday, 5 January 2018 at 15:26:03 UTC, 12345swordy wrote:
> On Friday, 5 January 2018 at 14:35:44 UTC, Jonathan M Davis
> wrote:
>> On Friday, January 05, 2018 14:29:41 Adam D. Ruppe via
>> Digitalmars-d wrote:
>>> [...]
>>
>> Either that or use structs on the stack instead of classes on
>> the heap so that you're actually using destructors instead of
>> finalizers.
>>
>> - Jonathan M Davis
>
>
> There been discussions regarding spiting up the destruction and
> finalizers.
I can't find the thread (it's a couple years old at this point, I
think), but Andrei once proposed removing class destructors and
met very heavy resistance so he dropped it.
More information about the Digitalmars-d
mailing list