If you look at the insides ObjectFactory.ReleaseAndDisposeAllHttpScopedObjects, you will see that this is a convenience method implemented as follows:
public static void ReleaseAndDisposeAllHttpScopedObjects()
{
HttpContextLifecycle.DisposeAndClearAll();
}
IE You can call a method HttpContextLifecycle.DisposeAndClearAllto clean objects.
: HttpContextLifecycle , , , Http.