浏览代码

_config.Configuration.PluginRespositories not instantiated causing InstallationManager.cs to crash with a null pointer.

BaronGreenback 5 年之前
父节点
当前提交
2f4860741c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      MediaBrowser.Model/Configuration/ServerConfiguration.cs

+ 2 - 0
MediaBrowser.Model/Configuration/ServerConfiguration.cs

@@ -270,6 +270,8 @@ namespace MediaBrowser.Model.Configuration
             IgnoreVirtualInterfaces = false;
             EnableSimpleArtistDetection = false;
 
+            PluginRepositories = new List<RepositoryInfo>();
+
             DisplaySpecialsWithinSeasons = true;
             EnableExternalContentInSuggestions = true;