Skip to content

TThread.OnTerminate

Event called when the thread terminates.

Declaration

Source position: classesh.inc line 1991

public Property
  OnTerminate : TNotifyEvent;

Description

TThread.OnTerminate is called when the thread terminates. The event is always called in the context of the main thread, i.e. using TThread.Synchronize

See also

Name Description
TNotifyEvent Standard event handler type.
TThread.FreeOnTerminate Indicates whether the thread should free itself when it stops executing.
TThread.Synchronize Synchronizes the thread by executing the method in the main thread.