Sign in Join
FPDoc Onlineexperiment

TObject.CleanupInstance procedure

Member of TObjectpublicIn unit System

Finalize the class instance.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.