TThread.OnTerminate¶
Event called when the thread terminates.
Declaration¶
Source position: classesh.inc line 2563
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 |
|---|---|
| TThread.Synchronize | Synchronizes the thread by executing the method in the main thread. |
| TThread.FreeOnTerminate | Indicates whether the thread should free itself when it stops executing. |