API:Datasnap.DSCommon.TDSClientCallbackChannelManager.TDSExecuteThread.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Datasnap.DSCommon.pas
Datasnap.DSCommon.hpp
Unit: Datasnap.DSCommon
Parent: TDSExecuteThread

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TDSExecuteThread();

Description

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

Datasnap.DSCommon.TDSClientCallbackChannelManager.TDSExecuteThread.Destroy inherits from System.Classes.TThread.Destroy. All content below this line refers to System.Classes.TThread.Destroy.

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