From e8df9551ef392785c0fb7269b9e187cd199390d8 Mon Sep 17 00:00:00 2001 From: BaronGreenback Date: Wed, 23 Dec 2020 10:31:11 +0000 Subject: [PATCH] Update PluginManager.cs Changed a to i --- Emby.Server.Implementations/Plugins/PluginManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index dac3100af8..629975abb1 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -81,9 +81,9 @@ namespace Emby.Server.Implementations.Plugins public IEnumerable 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);