Destructor called while object is still alive

Kagamin spam at here.lot
Sat Oct 24 18:19:54 UTC 2020


On Saturday, 24 October 2020 at 09:02:41 UTC, frame wrote:
> Yeah, I understand but this doesn't help if resources are wiped 
> when the object gets destroyed too.

Correct design solves your problem. If you rely exclusively on GC 
for resource management, this scenario is not supported, because 
it's unworkable.


More information about the Digitalmars-d mailing list