Skip to content

Commit

Permalink
Dispose ZStringWriter (#14933)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Dec 21, 2023
1 parent 3269df6 commit 5e0c994
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class HtmlContentString : IHtmlContent

private string DebuggerToString()
{
var writer = new ZStringWriter();
using var writer = new ZStringWriter();
WriteTo(writer, HtmlEncoder.Default);
return writer.ToString();
}
Expand Down

0 comments on commit 5e0c994

Please sign in to comment.