TMedDataset.Destroy TMedDataset

destructor Destroy; override;

Description

Use Free instead of Destroy in an application. It will check the the reference and call Destroy if it is not Nil.

Destroy close the dataset and free its internal storage.