[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'daemonapp' (#fcl)


Daemon shutdown


Source position: daemonapp.pp line 113

published property TDaemon.OnShutDown : TDaemonEvent
  read FOnShutDown
  write FOnShutDown;


OnShutDown is the event called when the daemon must be shut down. When the system is being shut down and the daemon does not respond to stop signals, then a shutdown message is sent to the daemon. This event can be used to respond to such a message. The daemon process will simply be stopped after this event.

If a thread was started in the OnExecute, this is the place where the thread's executed should be stopped or the thread freed from memory.

See also



Daemon start event



Daemon pause event



Report the current status to the operating system

Documentation generated on: May 14 2021