Browse Source

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

BaronGreenback 5 năm trước cách đây
mục cha
commit
2f4860741c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;