On Wed, 27 Apr 2011, Alexander Klenin wrote:

2011/4/27  <[email protected]>:
Which is simply wrong coding in the destructor.

I don't think you should provide for this. This is encouraging people to
write bad code. They should get an error, and correct their code.

Well, I have already said this is not a good practice, haven't I?
But, it is not that easy to fix -- the calls are usually separated
by many levels of nesting, including the message loop.

I would like to see a non-trivial example of this.

Even if you can produce one (which I doubt), it doesn't change the fact that it is wrong coding.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to