浏览代码

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)
                 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.
                         // Ensure the version number matches the Plugin Manifest information.
                         foreach (var item in _pluginsManifests)
                         foreach (var item in _pluginsManifests)