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

Frees the object instance.

destructor Destroy; override;

Destroy is an overridden destructor for the object instance. 

Destroy frees the user-specified object instance in Data, and calls the inherited destructor. 

Destroy does not free the thread- or fiber-based Yarn for the task. Yarn is only a reference in TIdTask, and will be managed by a Scheduler for the server.

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