Page 1 of 1

close a form with a TChart

Posted: Mon Apr 03, 2017 9:36 am
by 16579481
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?

Re: close a form with a TChart

Posted: Thu Apr 06, 2017 6:55 am
by yeray
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?