CallTerminateProcs
Call the exit chain procedures.
Declaration
Source position: sysutilh.inc line 266
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
Name | Description |
---|---|
AddTerminateProc | Add a procedure to the exit chain. |
TTerminateProc | Terminate procedure procedural variable. |