using GC needs particular skills?

Alexandr Druzhinin drug2004 at bk.ru
Tue Jul 17 08:47:12 PDT 2012


16.07.2012 10:29, Ellery Newcomer пишет:
> On 07/15/2012 09:01 AM, Alexandr Druzhinin wrote:
>> 15.07.2012 22:56, Alexandr Druzhinin пишет:
>>
>> sorry for my hurry - I've localized the problem in the linked libraries,
>> not in my code. Will find further... what the h*ll
>> Sorry again
>>
>
>
> I experienced this behavior when I was banging on pyd. Culprit was using
> gc allocated references inside a class destructor, using closures inside
> a class destructor, or asserting or throwing anything inside a class
> destructor.

does it means I should not use destructor for resource releasing at all 
while using GC for instatiating class object?


More information about the Digitalmars-d-learn mailing list