Sign in Join
FPDoc Onlineexperiment

CallTerminateProcs function

In unit sysutils

Call the exit chain procedures.

Declaration

pascal
function CallTerminateProcs: Boolean

Description

CallTerminateProcs is run on program exit. It executes all terminate procedures that were added to the exit chain with AddTerminateProc, and does this in reverse order.

Errors

If one of the exit procedure raises an exception, it is not caught, and the remaining exit procedures will not be executed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.