minor optimization.

pull/5956/head
BaronGreenback 4 years ago
parent adfc03ac9d
commit bcba501dfb

@ -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>

Loading…
Cancel
Save