Topic Path: Symbol Reference > Classes > TIdCookieManager Class > TIdCookieManager Methods > Destroy Destructor
TIdCookieManager.Destroy Destructor

Frees the object instance.

destructor Destroy; override;

Destroy is the destructor for the object instance. Destroy will signal a TNotifyEvent event type whan a procedure has been assigned to the OnDestroy event handler. 

Use OnDestroy to handle management of the CookieCollection during destruction of the TIdCookieManager object instance. 

Destroy frees resources allocated to the cookie manager, including the CookieCollection property, prior to calling the inherited Destroy method.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.