Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TObject.CleanupInstance

Finalize the class instance.

Declaration

Source position: objpash.inc line 269

public procedure TObject.CleanupInstance;

Description

CleanUpinstance finalizes the instance, i.e. takes care of all reference counted objects, by decreasing their reference count by 1, and freeing them if their count reaches zero.

Normally, CleanupInstance should never be called, it is called automatically when the object is freed with it's constructor.

Errors

None.

See also

Destroy

  

TObject destructor.

Free

  

Check for Nil and call destructor.

InitInstance

  

Initialize a new class instance.


Documentation generated on: Oct 27 2024