-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: javafx
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.
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.
- relates to
-
JDK-8123986 JavaFx MediaPlayer not release the file handle for the file it played Window specific
-
- Resolved
-