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>
This commit is contained in:
Claus Vium 2022-06-14 21:24:19 +02:00 committed by crobibero
parent 9c5d30c217
commit 06b2e7bcf5

View File

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