-
Bug
-
Resolution: Fixed
-
P4
-
jfx11
-
x86_64
-
generic
A DESCRIPTION OF THE PROBLEM :
he Accordion control keeps a reference to its first TitledPane even after all panes have been removed, which prevents it to be collected, alongside everything attached to that pane.
The reason for that is the skin for the control explicitly keeps a reference to it, so that it can apply and remove the "first-titled-pane" css style class.
It is kept in sync with the list of panes in the control through the use of a ListChangeListener, however the listener's implementation never severs the reference after the last TitlePane has been removed.
More detail about the issue can be found on Github: https://github.com/javafxports/openjdk-jfx/issues/391
FREQUENCY : always
he Accordion control keeps a reference to its first TitledPane even after all panes have been removed, which prevents it to be collected, alongside everything attached to that pane.
The reason for that is the skin for the control explicitly keeps a reference to it, so that it can apply and remove the "first-titled-pane" css style class.
It is kept in sync with the list of panes in the control through the use of a ListChangeListener, however the listener's implementation never severs the reference after the last TitlePane has been removed.
More detail about the issue can be found on Github: https://github.com/javafxports/openjdk-jfx/issues/391
FREQUENCY : always