Update PluginManager.cs

Changed a to i
This commit is contained in:
BaronGreenback 2020-12-23 10:31:11 +00:00 committed by GitHub
parent 9a97933499
commit e8df9551ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -81,9 +81,9 @@ namespace Emby.Server.Implementations.Plugins
public IEnumerable<Assembly> LoadAssemblies()
{
// Attempt to remove any deleted plugins and change any successors to be active.
for (int a = _plugins.Count - 1; a >= 0; a--)
for (int i = _plugins.Count - 1; i >= 0; i--)
{
var plugin = _plugins[a];
var plugin = _plugins[i];
if (plugin.Manifest.Status == PluginStatus.Deleted && DeletePlugin(plugin))
{
UpdateSuccessors(plugin);