Internet Direct (Indy) Version 9.0.1 Beta
|
procedure TerminateThreads(TerminateWaitTime: integer); virtual;
If the thread list contains TIdPeerThread instances, TerminateThreads will call TIdPeerThread.Connection.Disconnect to close the socket connection.
For each TIdThread instance in the thread list, TerminateThreads will call ReleaseThread.
The terminated thread instance will be removed from the Thread list.