Destroys the thread object and releases the memory allocated to it.
destructor Destroy; override;
virtual __fastcall ~TThread();
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!