RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTransportThread.Destroy Destructor

Destroys the thread object and releases the memory allocated to it.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TTransportThread();

Do not call Destroy in an application. Instead, use Free to destroy a thread when FreeOnTerminate is False. 

Destroy signals the thread to terminate and then waits for the thread to return before calling the inherited Destroy method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!