<p>Am 25.09.2014 11:39 schrieb "Michael Schnell" <<a href="mailto:mschnell@lumino.de">mschnell@lumino.de</a>>:<br>
><br>
> On 09/22/2014 11:25 PM, Sven Barth wrote:<br>
>><br>
>><br>
>> Considering that those are two different features that don't have anything to do with each other their development doesn't need to be serialized, but can happen in parallel ;)<br>
>><br>
> Will the destructor of a reference counted object not be a kind of anonymous/closure procedure ?</p>
<p>Why should it? When the reference count is decreased to zero (and thus the final reference on the instance is gone) the destructor method is executed (which is just a "obj.Destroy;"), simple as that (in reality it's a bit more complex, but that's an implementation detail).</p>
<p>Regards,<br>
Sven</p>