Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
1f2ecd0775
commit
66d98cb8e4
|
@ -462,7 +462,7 @@ namespace Emby.Server.Implementations
|
|||
{
|
||||
// Convert to list so this isn't executed for each iteration
|
||||
var parts = GetExportTypes<T>()
|
||||
.Select(i => defaultFunc(i))
|
||||
.Select(defaultFunc)
|
||||
.Where(i => i != null)
|
||||
.Cast<T>()
|
||||
.ToList();
|
||||
|
|
Loading…
Reference in New Issue
Block a user