close a form with a TChart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JimR
Newbie
Newbie
Posts: 46
Joined: Mon Oct 24, 2016 12:00 am

close a form with a TChart

Post by JimR » Mon Apr 03, 2017 9:36 am

Is there something special one should do when closing a VCL form with a TeeChart? I have just tried using the FullDebug option of the FASTMM4 unit to check for leaks etc. and it crashes every time when I close the form. It complains about accessing an already free-ed object. The references it provides are mostly internal to TeeChart. Do I need to first free the series etc.? Is TeeChart compatible with the FASTMM4 utility?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: close a form with a TChart

Post by Yeray » Thu Apr 06, 2017 6:55 am

Hello,
JimR wrote:I have just tried using the FullDebug option of the FASTMM4 unit to check for leaks etc. and it crashes every time when I close the form
Does it crash or does it report the leaks it finds?

We use to revise the memory leaks with FastMM4 also. We'll check it. What IDE are you using?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply