Unloads a resource once it is no longer referenced by a ManagedResource<TInfo,TResource>.
By default if TResource is System.IDisposable, calls the System.IDisposable.Dispose method.
protected virtual void Unload(TInfo info, TResource resource);
info
TInfo
The TInfo that was used to load the resource.
resource
TResource
The TResource to unload.