TODO: use {@link java.lang.ref.Cleaner} instead of Object.finalize() once Java 8 support is dropped

This commit is contained in:
Reinhard Pointner 2017-10-18 11:15:07 +02:00
parent 52ba6b60f6
commit 5be9384ab1
1 changed files with 3 additions and 0 deletions

View File

@ -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();