[Lazarus] How to automatically free classes/objects?

Marcos Douglas md at delfire.net
Wed Mar 2 00:44:08 CET 2016


On Tue, Mar 1, 2016 at 4:45 PM, Aradeonas <aradeonas at operamail.com> wrote:
> Subject say what I want and as discussed here there are couple of ways to do
> this and one of them is a custom garbage collector :
> http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects
>
> I want to know is there any better way in Lazarus or what should I do?

Use interfaces instead of objects.

Marcos Douglas




More information about the Lazarus mailing list