mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
Mark plugin failure on DI Loop.
This commit is contained in:
@@ -406,6 +406,11 @@ namespace Emby.Server.Implementations
|
||||
Logger.LogError("Called from: {stack}", entry.FullName);
|
||||
}
|
||||
|
||||
if (type is IPlugin)
|
||||
{
|
||||
_pluginManager.FailPlugin(type.Assembly);
|
||||
}
|
||||
|
||||
throw new ExternalException("DI Loop detected.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user