Merge pull request #5956 from BaronGreenback/MultipleInstanciations

Minor optimization.
pull/5960/head
Bond-009 4 years ago committed by GitHub
commit e042651c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save