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

Media Objects cannot be closed or released.

    XMLWordPrintable

    Details

      Description

      How come there's no way to close a media object when it's no longer in need.

      I have a mediaview that constantly needs to be given a new Media object to play, but I don't see a method to close or dispose the previous media object before I make the switch.
      The result of this is that, even though I no longer need a media file, I can't delete it or anything until I close the app because it is still being used somewhere in memory a la memory leak.

        Attachments

        1. RT18224.java
          2 kB
          Alexander Matveev

          Issue Links

            Activity

              People

              Assignee:
              almatvee Alexander Matveev
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: