Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsnipCustomTLSClient.Destroy

destructor Destroy; override;
Stops a live connection first, as Stop does, while the engine it runs on is still there - so a client may be freed, or freed by its Owner, while it is connected. Then deregisters from a borrowed engine under the engine's notify lock before the inherited teardown, so that freeing a client on any thread cannot damage the free-notification list the other clients of a shared engine use.