public void recycle() {
        isRecycled = true;
        state.bitmapPool.put(state.firstFrame);
        frameLoader.clear();
        frameLoader.stop();
    }
Clears any resources for loading frames that are currently held on to by this object.
core/src/main/java/com/bumptech/glide/load/resource/gif/GifDrawable.java