On Tue, 24 Jan 2017 15:33:30 +0100 Maciej Izak <hnb.c...@gmail.com> wrote:
> 2017-01-24 12:48 GMT+01:00 Mattias Gaertner <nc-gaert...@netcologne.de>: > > > fpc allows to declare a method with the destructor keyword, that is > > not a real destructor, because it does not free the memory. For what is > > this feature good for? > > > > with trunk works as expected (Foo does call FreeInstance). True. Sorry, I mixed two destructors. Now I understand the Note: Class should have one destructor only. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal