public static <T> CloseableReference<T> of(
      @PropagatesNullable T t, ResourceReleaser<T> resourceReleaser) {
    return of(t, resourceReleaser, DEFAULT_LEAK_HANDLER);
  }
Constructs a CloseableReference (wrapping a SharedReference) of T with provided
ResourceReleaser<T>. If t is null, this will just return null.
fbcore/src/main/java/com/facebook/common/references/CloseableReference.java