System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TTetheringNetworkManagerCommunicationThread(void);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
destructor | public | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Détruit l'objet thread et libère la mémoire qui lui est allouée.
N'appelez pas Destroy dans une application. A la place, utilisez Free pour détruire un thread quand FreeOnTerminate est défini sur False.
Destroy indique au thread de terminer et attend alors le retour du thread avant d'appeler la méthode Destroy héritée.