Explorar o código

Merge pull request #8727 from crobibero/disable-auto-update

Don't auto-update if plugin is pending restart
Claus Vium %!s(int64=2) %!d(string=hai) anos
pai
achega
f3ac9ba465
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Emby.Server.Implementations/Plugins/PluginManager.cs

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

@@ -715,6 +715,7 @@ namespace Emby.Server.Implementations.Plugins
             {
                 // This value is memory only - so that the web will show restart required.
                 plugin.Manifest.Status = PluginStatus.Restart;
+                plugin.Manifest.AutoUpdate = false;
                 return;
             }
 
@@ -729,6 +730,7 @@ namespace Emby.Server.Implementations.Plugins
 
             // This value is memory only - so that the web will show restart required.
             plugin.Manifest.Status = PluginStatus.Restart;
+            plugin.Manifest.AutoUpdate = false;
         }
     }
 }