[fpc-pascal] Generic way to pre-maturely exit TCustomApplication without memory leaks

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Oct 13 15:07:25 CEST 2016


On 2016-10-13 13:48, Sven Barth wrote:
> That won't help with Halt() however as that will "jump" directly to the
> unit finalization, ignoring any and all exception handlers along the way.


Wow, that's a bit harsh. Overriding the whole meaning of the
try..finally language feature. Then I would recommend NOT using Halt()
for anything - its nasty.


Regards,
  Graeme




More information about the fpc-pascal mailing list