Merge pull request #6845 from marius-luca-87/dlna

Flush the XmlWriter before calling the StringBuilder ToString() method
pull/6846/head
Cody Robibero 3 years ago committed by GitHub
commit 4cb649853d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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());
}

Loading…
Cancel
Save