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>
|
/// </summary>
|
||||||
public void CreatePlugins()
|
public void CreatePlugins()
|
||||||
{
|
{
|
||||||
_ = _appHost.GetExports<IPlugin>(CreatePluginInstance)
|
_ = _appHost.GetExports<IPlugin>(CreatePluginInstance);
|
||||||
.Where(i => i != null)
|
|
||||||
.ToArray();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user