mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
- flush the XmlWriter before calling the StringBuilder ToString() method
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user