On Wed, Apr 27, 2011 at 21:53, <[email protected]> wrote: >> http://bugs.freepascal.org/view.php?id=16035 > > But what does this have to do with the problem you mention in FreeAndNil ? > > It's rebuilding a component tree, while part of the tree is still being > destroyed. That this will go wrong seems logical to me, but irrelevant to > FreeAndNil.
As you can see from the linked discussion, currently implemented workaround involves FreeAndNil. I can imagine a similar bug which might require FreeThenNil instead. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
