Thanks all.

Once I tracked down the two components that had not been freed, the hanging
stopped.

Some create tips in this thread. Thansk for all of them.


On Thu, Oct 1, 2015 at 6:31 AM, Graeme Geldenhuys <
[email protected]> wrote:

> Hello Patrick,
>
> On 2015-09-30 at 17:56, Patrick Chevalley wrote:
> > My suggestion to try without heaptrc is only to check if this is the
> > reason for "slow shutting down". In this case the problem is solved
> > because a release build without this option will not be affected.
>
>
> Run your program from the command line, and don't compile it with -WG
> (ie: tell the compiler it is a console program, not a GUI one - if you
> are using Windows).
>
> If it takes so long to shut down, that means you have a heck of a lot
> of memory leaks. As you can guess, that is bad and should always be
> fix! Simply disabling heaptrc is not really a solution.
>
>
> But yes I fully understand "releas builds" of your application
> shouldn't include heaptrc. But memory leaks should be fixed none the
> less.
>
>
>
> Regards,
>   - Graeme -
>
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
>
> My public PGP key:  http://tinyurl.com/graeme-pgp
>
>
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to