Internet Direct (Indy) Version 9.0.1 Beta
TIdHTTPSession.Destroy
Frees the object instance.

destructor Destroy; override;
Description
Destroy is a procedure that acts as the destructor for the object instance, and is responsible for handling persistent session clean-up and freeing object properties for the session.

Destroy calls DoSessionEnd to trigger the OnSessionEnd event handler, and signals the Owner session list that the session should be removed.

Destroy clears the Content property, and frees the property instance.

Destroy frees the private and protected member variables used by the object instance.