[Overview][Classes][Procedures and functions][Index] |
Destructor for the class instance.
Source position: lazclasses.pas line 68
public destructor TRefCountedObject.Destroy; override; |
Destroy is the overridden destructor for the class instance. It ensures that resource allocated in the constructor are freed before freeing the class instance. Destroy calls the inherited destructor prior to exit.
Destroy raises an EAssertionFailed exception if RefCount has a non-zero value when the method was called.
Version 4.0 | Generated 2025-05-03 | Home |