浏览代码

Don't auto-update if plugin is pending restart

Cody Robibero 2 年之前
父节点
当前提交
d7f0596d5d
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;
         }
     }
 }