public synchronized void dispose() {
    CloseableReference.closeSafely(mPreviewBitmap);
    mPreviewBitmap = null;
    CloseableReference.closeSafely(mDecodedFrames);
    mDecodedFrames = null;
  }
Disposes the result, which releases the reference to any bitmaps.
animated-base/src/main/java/com/facebook/imagepipeline/animated/base/AnimatedImageResult.java