mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 13:23:03 +02:00
Merge pull request #6845 from marius-luca-87/dlna
Flush the XmlWriter before calling the StringBuilder ToString() method
This commit is contained in:
commit
4cb649853d
|
@ -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…
Reference in a new issue