[lazarus] Endless loop problem I'm not sure how to trace

Marc Weustink marc at dommelstein.net
Sun Oct 27 10:56:04 EST 2002


At 09:23 27-10-2002 -0600, Tony Maro wrote:
>On Sun, 2002-10-27 at 06:13, Mattias Gaertner wrote:
>
> > I also added 'BeforeDestruction' to TForm.Destroy, which is a workaround
> > for the missing BeforeDestruction call of the 1.0.x compiler. This fixes
> > for example your mem leaks in cbtracker. So, you can now use heaptrc
> > without garbage.
>
>I have absolutely no idea what you're talking about unless this is why
>the onformdestroy didn't work.

FYI, TCustomForm.BeforeDestruction fires the OnDestroy event. Since it was 
never called, the event didn't fire.







More information about the Lazarus mailing list