Topic Path: Symbol Reference > Classes > TIdCustomTCPServer Class > TIdCustomTCPServer Methods > Destroy Destructor
ContentsIndexHome
PreviousUpNext
TIdCustomTCPServer.Destroy Destructor

Frees the object instance.

destructor Destroy; override;

Destroy is the destructor for the TIdCustomTCPServer instance. 

Destroy sets the Active property to False, which forces the server to terminate the listener threads and the executable tasks for client connections to the server. 

Destroy frees resources allocated to the IOHandler property when ImplicitIOHandler contains True. 

Destroy frees any Bindings allocated for listener threads in the server. 

Destroy frees any entries in Contexts allocated to executable tasks for client connections to the server. 

Destroy calls the inherited Destroy method.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.