Loading media/java/android/media/ImageReader.java +4 −4 Original line number Diff line number Diff line Loading @@ -512,13 +512,13 @@ public class ImageReader implements AutoCloseable { mAcquiredImages.clear(); nativeClose(); } if (mEstimatedNativeAllocBytes > 0) { VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); mEstimatedNativeAllocBytes = 0; } } } @Override protected void finalize() throws Throwable { Loading Loading
media/java/android/media/ImageReader.java +4 −4 Original line number Diff line number Diff line Loading @@ -512,13 +512,13 @@ public class ImageReader implements AutoCloseable { mAcquiredImages.clear(); nativeClose(); } if (mEstimatedNativeAllocBytes > 0) { VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); mEstimatedNativeAllocBytes = 0; } } } @Override protected void finalize() throws Throwable { Loading