> On Wed, Aug 1, 2018 at 11:27 AM, Ryan Joseph <r...@thealchemistguild.com> wrote: > Yeah, this is the first place I looked but current_structdef is always nil so it never progresses past that point. > Is this test program not enough to get FreeInstance called?
You need to declare a class, and give that class at least one method for current_structdef to ever not be nil at all. You'll only specifically get to the FreeInstance part after that if it has a destructor.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel