The Free Software Media System - Server Backend & API
Update Emby.Server.Implementations/Plugins/PluginManager.cs
BaronGreenbacka293024efd5e
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.csindex be08d8515e..1fd87273f7 100644--- a/Emby.Server.Implementations/Plugins/PluginManager.cs+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs@@ -280,7 +280,7 @@ namespace Emby.Server.Implementations.Pluginsthrow new ArgumentNullException(nameof(assembly));}- var plugin = _plugins.Where(p => p.DllFiles.Contains(assembly.Location)).FirstOrDefault();+ var plugin = _plugins.FirstOrDefault(p => p.DllFiles.Contains(assembly.Location));if (plugin == null){// A plugin's assembly didn't cause this issue, so ignore it.