mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #5956 from BaronGreenback/MultipleInstanciations
Minor optimization.
This commit is contained in:
commit
e042651c54
@ -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…
x
Reference in New Issue
Block a user