[fpc-pascal] Halt() bypassed try..finally block

Michael Van Canneyt michael at freepascal.org
Thu Sep 13 11:36:25 CEST 2007

On Thu, 13 Sep 2007, Graeme Geldenhuys wrote:

> Hi,
> Is that correct behavior?  When calling Halt() somewhere inside a
> try..finally block, it _doesn't_ execute the finally code.

This is by design.

Halt finalizes the units and then exits.


More information about the fpc-pascal mailing list