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

MediaView.setMediaPlayer() does not clear references to any previously set MediaPlayer

XMLWordPrintable

      The mediaPlayerProperty invalidated() method only adds listeners to the new MediaPlayer but does not remove them from the old MediaPlayer as get() in both if-blocks always returns the new value of the property. Hence the listeners are not removed from the former Media or MediaPlayer objects.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: