From 5be9384ab15e6c90c6b6ee967726d9998402ab91 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 18 Oct 2017 11:15:07 +0200 Subject: [PATCH] TODO: use {@link java.lang.ref.Cleaner} instead of Object.finalize() once Java 8 support is dropped --- source/net/filebot/mediainfo/MediaInfo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/net/filebot/mediainfo/MediaInfo.java b/source/net/filebot/mediainfo/MediaInfo.java index 8df64f3f..f2c1c866 100644 --- a/source/net/filebot/mediainfo/MediaInfo.java +++ b/source/net/filebot/mediainfo/MediaInfo.java @@ -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();