Fixed .exexport, .savechat, and .quoteexport, closes #358

This commit is contained in:
Kwoth
2022-06-14 14:31:43 +02:00
parent 6bec67006c
commit f922543d33

View File

@@ -89,7 +89,7 @@ public static class StringExtensions
public static async Task<Stream> ToStream(this string str)
{
var ms = new MemoryStream();
await using var sw = new StreamWriter(ms);
var sw = new StreamWriter(ms);
await sw.WriteAsync(str);
await sw.FlushAsync();
ms.Position = 0;