Sign in Join
FPDoc Onlineexperiment

TDaemon.OnStop property

Member of TDaemonpublishedIn unit DaemonApp

Daemon stop event.

Declaration

pascal
property OnStop: TDaemonOKEvent read FOnStop write FOnStop;

Description

OnStart is the event called when the daemon must be stopped. This event handler should return as quickly as possible. If it must perform lengthy operations, it is best to report the status to the operating system at regular intervals using the ReportStatus method.

If a thread was started in the OnExecute event, this is the place where the thread should be stopped.

See also

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