浏览代码

Merge pull request #7934 from Bond-009/xmlasync2

Enable XmlReaderSettings.Async, fixes #7929

(cherry picked from commit 1b8a2519911192fb272b15c07cc66dec6659aad9)
Signed-off-by: crobibero <cody@robibe.ro>
Claus Vium 3 年之前
父节点
当前提交
06b2e7bcf5
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs

+ 2 - 1
MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs

@@ -465,7 +465,8 @@ namespace MediaBrowser.Providers.Music
                 ValidationType = ValidationType.None,
                 ValidationType = ValidationType.None,
                 CheckCharacters = false,
                 CheckCharacters = false,
                 IgnoreProcessingInstructions = true,
                 IgnoreProcessingInstructions = true,
-                IgnoreComments = true
+                IgnoreComments = true,
+                Async = true
             };
             };
 
 
             using var reader = XmlReader.Create(oReader, settings);
             using var reader = XmlReader.Create(oReader, settings);