Internet Direct (Indy) Version 9.0.2 Beta
TIdUDPListenerThread.Destroy
Destructor for the object instance.

destructor Destroy; override;
Description
Destroy is the destructor for TIdUDPListenerThread, and is responsible for disposing of the object instance. Destroy performs the following actions:

Destroy should not be directly called in an application. Use Free instead. Free checks to ensure that the object reference is not Nil before calling Destroy.

Note: If an exception is emitted from the constructor, the destructor is called to destroy the partially constructed object instance. Destructors should check that allocated resources, such as handles, were actually allocated before trying to release them.