Selaa lähdekoodia

minor optimization.

BaronGreenback 4 vuotta sitten
vanhempi
sitoutus
bcba501dfb
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      Emby.Server.Implementations/Plugins/PluginManager.cs

+ 1 - 3
Emby.Server.Implementations/Plugins/PluginManager.cs

@@ -166,9 +166,7 @@ namespace Emby.Server.Implementations.Plugins
         /// </summary>
         public void CreatePlugins()
         {
-            _ = _appHost.GetExports<IPlugin>(CreatePluginInstance)
-                .Where(i => i != null)
-                .ToArray();
+            _ = _appHost.GetExports<IPlugin>(CreatePluginInstance);
         }
 
         /// <summary>