Răsfoiți Sursa

Update PluginManager.cs

Changed a to i
BaronGreenback 4 ani în urmă
părinte
comite
e8df9551ef
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      Emby.Server.Implementations/Plugins/PluginManager.cs

+ 2 - 2
Emby.Server.Implementations/Plugins/PluginManager.cs

@@ -81,9 +81,9 @@ namespace Emby.Server.Implementations.Plugins
         public IEnumerable<Assembly> LoadAssemblies()
         public IEnumerable<Assembly> LoadAssemblies()
         {
         {
             // Attempt to remove any deleted plugins and change any successors to be active.
             // 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))
                 if (plugin.Manifest.Status == PluginStatus.Deleted && DeletePlugin(plugin))
                 {
                 {
                     UpdateSuccessors(plugin);
                     UpdateSuccessors(plugin);