mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-22 18:23:45 +00:00
removed local trailers and special features from memory
This commit is contained in:
@@ -340,8 +340,6 @@ namespace MediaBrowser.Common.Implementations
|
||||
protected void RegisterSingleInstance<T>(T obj, bool manageLifetime = true)
|
||||
where T : class
|
||||
{
|
||||
Logger.Info("Registering " + obj.GetType().Name);
|
||||
|
||||
Container.RegisterSingle(obj);
|
||||
|
||||
if (manageLifetime)
|
||||
@@ -421,8 +419,6 @@ namespace MediaBrowser.Common.Implementations
|
||||
{
|
||||
var currentType = typeof(T);
|
||||
|
||||
Logger.Info("Composing instances of " + currentType.Name);
|
||||
|
||||
var parts = AllConcreteTypes.AsParallel().Where(currentType.IsAssignableFrom).Select(CreateInstance).Cast<T>().ToArray();
|
||||
|
||||
if (manageLiftime)
|
||||
|
||||
Reference in New Issue
Block a user