Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

CallTerminateProcs

Call the exit chain procedures.

Declaration

Source position: sysutilh.inc line 289

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

TTerminateProc

  

Terminate procedure procedural variable.

AddTerminateProc

  

Add a procedure to the exit chain.


Documentation generated on: Nov 23 2024