Destroys the list and releases the memory used to store the list elements.
Source position: classesh.inc line 607
public destructor TList.Destroy; override; |
Destroy destroys the list and releases the memory used to store the list elements. The elements themselves are in no way touched, i.e. any memory they point to must be explicitly released before calling the destructor.