TODO: use {@link java.lang.ref.Cleaner} instead of Object.finalize() once Java 8 support is dropped
This commit is contained in:
parent
52ba6b60f6
commit
5be9384ab1
|
@ -184,6 +184,9 @@ public class MediaInfo implements Closeable {
|
|||
handle = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: use {@link java.lang.ref.Cleaner} instead of Object.finalize() once Java 8 support is dropped
|
||||
*/
|
||||
@Override
|
||||
protected void finalize() {
|
||||
dispose();
|
||||
|
|
Loading…
Reference in New Issue