aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorDavid Ullmer <daullmer@gmail.com>2020-08-31 18:03:13 +0200
committerDavid Ullmer <daullmer@gmail.com>2020-08-31 18:03:13 +0200
commitb37cc7bfaf51bd205d2251daf984b35bfaad98b2 (patch)
treeecd632a997bb49fcb7ba2605287b3ffb00f7b69c /Emby.Server.Implementations/ApplicationHost.cs
parent7f79f2ee0e1fe3b5f0edb22677df9f9235d883fa (diff)
Don't evaluate twice
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index d2f016f7d..09084249e 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -1395,9 +1395,8 @@ namespace Emby.Server.Implementations
foreach (var assembly in assemblies)
{
Logger.LogDebug("Found API endpoints in plugin {name}", assembly.FullName);
+ yield return assembly;
}
-
- return assemblies;
}
public virtual void LaunchUrl(string url)