- flush the XmlWriter before calling the StringBuilder ToString() method

This commit is contained in:
Marius Luca 2021-11-14 20:46:17 +02:00
parent 5254e74719
commit a774d1fa10

View File

@ -395,6 +395,7 @@ namespace Emby.Dlna.ContentDirectory
}
writer.WriteFullEndElement();
writer.Flush();
xmlWriter.WriteElementString("Result", builder.ToString());
}
@ -484,6 +485,7 @@ namespace Emby.Dlna.ContentDirectory
}
writer.WriteFullEndElement();
writer.Flush();
xmlWriter.WriteElementString("Result", builder.ToString());
}