diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-05-02 19:25:04 +0100 |
|---|---|---|
| committer | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-05-02 19:25:04 +0100 |
| commit | bcba501dfbe1e0f422829f26159d9a9625530231 (patch) | |
| tree | 3207c5ebf789f6f5cd5495609884e15c20891d16 /Emby.Server.Implementations/Plugins | |
| parent | adfc03ac9dea134c57daefe8ca89fbfe089b9739 (diff) | |
minor optimization.
Diffstat (limited to 'Emby.Server.Implementations/Plugins')
| -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> |
