Topic Path: Symbol Reference > Classes > TIdComponent Class > TIdComponent Methods > Destroy Destructor
TIdComponent.Destroy Destructor

Frees the object instance.

destructor Destroy; override;

Destroy is the destructor for the object instance, and calls the inherited Destroy method. 

Destroy uses a TIdCriticalSection to protect access to the global stack instance. When the Indy component instance count is 0 (zero), the global stack instance is freed.

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