TAdvPanel / TAdvPanelGroup - having FreeOnClose = True causes IPOs when PanelGroup is destroyed

Hi !

When you use TAdvPanelGroup + child TAdvPanels, if TAdvPanels have close button visible and FreeOnClose = True, when they are closed they are not removed from the panel group internal FPanels list, causing later errors rising.

How to reproduce: open AdvPanelDemo project, go to TAdvPanelGroup tab, select all child Panels and check Caption/CloseButton property, then check FreeOnClose property. Run close some panels, close the form.

Thanks!

Thanks for reporting.
We traced & solved this issue. Next update will address this.