Update Emby.Server.Implementations/Plugins/PluginManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
5c3ebb63e6
commit
a293024efd
|
@ -280,7 +280,7 @@ namespace Emby.Server.Implementations.Plugins
|
||||||
throw new ArgumentNullException(nameof(assembly));
|
throw 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)
|
if (plugin == null)
|
||||||
{
|
{
|
||||||
// A plugin's assembly didn't cause this issue, so ignore it.
|
// A plugin's assembly didn't cause this issue, so ignore it.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user