mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
- flush the XmlWriter before calling the StringBuilder ToString() method
This commit is contained in:
parent
5254e74719
commit
a774d1fa10
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue