TOnDestroyEvent is a
TOnManagerEvent descendant that represents the event type signalled when a
TIdCookieManager object instance is freed. TOnDestroyEvent is the type used to represent the
TIdCookieManager.OnDestroy property, and allows the Cookie manager to perform special processing when the Cookie collection is about to be released.
Applications must assign a procedure to the TOnDestroyEvent event handler to allow responsing to the event notification.