Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123765

Behaviors should remove listeners when Skin is disposed

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • javafx
    • None

    Description

      Behavior's presently will attach a listener to the associated control and never uninstall that listener, even when the associated skin has been disposed. We should add a dispose() method to BehaviorBase, and BehaviorSkinBase should call it when disposed. We should then visit all the behavior implementations and ensure that they are removing any listeners they have installed.

      Attachments

        Issue Links

          Activity

            People

              rbair Richard Bair (Inactive)
              rbair Richard Bair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: