Am 25.09.2014 11:39 schrieb "Michael Schnell" <mschn...@lumino.de>: > > On 09/22/2014 11:25 PM, Sven Barth wrote: >> >> >> 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 ;) >> > Will the destructor of a reference counted object not be a kind of anonymous/closure procedure ?
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). Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel