On Monday 01 July 2013 00:33:43 Hans-Peter Diettrich wrote:
> Graeme Geldenhuys schrieb:
> > On 2013-06-30 17:25, Hans-Peter Diettrich wrote:
> >> I'm somewhat confused now. When an object has an definite "last use", it
> >> should not matter when it is destroyed afterwards, sooner or later.
> >
> > The simplest example... You have code that executes when the Interface
> > gets destroyed.
>
> Such coding style is asking for trouble :-(
>
Working with autodestroyed objects is asking for trouble. ;-)

Martin

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to