System.Win.ScktComp.TServerClientThread.DoTerminate
Delphi
procedure DoTerminate; override;
C++
virtual void __fastcall DoTerminate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TServerClientThread |
Description
Removes the thread from the list of active threads maintained by the associated server socket.
DoTerminate overrides the inherited method to suppress the OnTerminate event. Instead, it removes the thread from the Connections property of the associated TServerWinSocket. The thread is then either added to the server socket's thread cache or destroyed.