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

Frees the thread-safe data type.

destructor Destroy; override;

Destroy is the destructor for the thread-safe data type. 

Destroy calls Lock to enable resource protection while resources allocated to Value in the Create method are freed. 

Destroy call Unlock to disable resource protection on successful completion, or when an exception is raised. 

The inherited Destroy method is called prior to exit.

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