aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Plugins/PluginManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-05-03 09:50:47 +0200
committerGitHub <noreply@github.com>2021-05-03 09:50:47 +0200
commite042651c54be1c379846ee77ef57c5f4d7a774de (patch)
treed449ffcb991384f225adea96d7bcf1639bd522f0 /Emby.Server.Implementations/Plugins/PluginManager.cs
parente71cd8274ace8237a84882ffddba4fba12fbc6c1 (diff)
parentbcba501dfbe1e0f422829f26159d9a9625530231 (diff)
Merge pull request #5956 from BaronGreenback/MultipleInstanciations
Minor optimization.
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
-rw-r--r--Emby.Server.Implementations/Plugins/PluginManager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index 3a8296455..fd2ee6b7a 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/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>