Don't evaluate twice

This commit is contained in:
David Ullmer 2020-08-31 18:03:13 +02:00
parent 7f79f2ee0e
commit b37cc7bfaf

View File

@ -1395,9 +1395,8 @@ namespace Emby.Server.Implementations
foreach (var assembly in assemblies) foreach (var assembly in assemblies)
{ {
Logger.LogDebug("Found API endpoints in plugin {name}", assembly.FullName); Logger.LogDebug("Found API endpoints in plugin {name}", assembly.FullName);
yield return assembly;
} }
return assemblies;
} }
public virtual void LaunchUrl(string url) public virtual void LaunchUrl(string url)