diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-05-03 09:50:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-03 09:50:47 +0200 |
| commit | e042651c54be1c379846ee77ef57c5f4d7a774de (patch) | |
| tree | d449ffcb991384f225adea96d7bcf1639bd522f0 /Emby.Server.Implementations/Plugins/PluginManager.cs | |
| parent | e71cd8274ace8237a84882ffddba4fba12fbc6c1 (diff) | |
| parent | bcba501dfbe1e0f422829f26159d9a9625530231 (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.cs | 4 |
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> |
