瀏覽代碼

Fixed tests

Greenback 4 年之前
父節點
當前提交
eed1a40b19
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -774,7 +774,7 @@ namespace Emby.Server.Implementations
 
                 foreach (var plugin in Plugins)
                 {
-                    if (plugin is IPluginAssembly assemblyPlugin)
+                    if (_pluginsManifests != null && plugin is IPluginAssembly assemblyPlugin)
                     {
                         // Ensure the version number matches the Plugin Manifest information.
                         foreach (var item in _pluginsManifests)