minor optimization.

This commit is contained in:
BaronGreenback 2021-05-02 19:25:04 +01:00
parent adfc03ac9d
commit bcba501dfb

View File

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