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!