Internet Direct (Indy) Version 9.0.2 Beta
TIdThread.Terminate
Forces the thread of execution to be halted.

procedure Terminate; virtual;
Description
Terminate is a virtual procedure in TIdThread that forces the thread of execution to be halted. Calling Terminate causes the Terminated property to be updated to True.

Terminate will be called in Execute when an exception is raised during execution of the thread. Terminate is also called when Stop is executed and StopMode contains smTerminate.