@Deprecated
    public <T, Y> void unregister(Class<T> modelClass, Class<Y> resourceClass) {
        ModelLoaderFactory<T, Y> removed = loaderFactory.unregister(modelClass, resourceClass);
        if (removed != null) {
            removed.teardown();
        }
    }
Removes any {@link ModelLoaderFactory} registered for the given model and resource classes if one exists. If a
{@link ModelLoaderFactory} is removed, its {@link ModelLoaderFactory#teardown()}} method will be called.

@deprecated Use {@link #register(Class, Class, ModelLoaderFactory)} to replace
a registered loader rather than simply removing it.
@param modelClass The model class.
@param resourceClass The resource class.
@param <T> The type of the model.
@param <Y> The type of the resource.
core/src/main/java/com/bumptech/glide/Glide.java