minor optimization.
This commit is contained in:
parent
adfc03ac9d
commit
bcba501dfb
|
@ -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…
Reference in New Issue
Block a user