API:System.Tether.Manager.TTetheringManagerCommunicationThread.Destroy

From RAD Studio API Documentation

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TTetheringManagerCommunicationThread(void);

Properties

Type Visibility Source Unit Parent
destructor public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManagerCommunicationThread

Description

Destroys the thread object and releases the memory allocated to it. {{#multireplace:System.Tether.Manager.TTetheringManagerCommunicationThread.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TThread.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TThread.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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

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.

See Also