mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-10 00:02:37 -06:00
fix: remove extra FlushAsync
This should improve buffer performance for the JsonWriter. I guess that the others in this file are probably redundant as well but out of scope for this PR.
This commit is contained in:
parent
2bf8b86243
commit
08524e94ba
|
|
@ -409,7 +409,6 @@ internal class JsonMessageWriter(Stream stream, ExportContext context)
|
|||
}
|
||||
|
||||
_writer.WriteEndObject();
|
||||
await _writer.FlushAsync(cancellationToken);
|
||||
}
|
||||
|
||||
public override async ValueTask WritePreambleAsync(
|
||||
|
|
|
|||
Loading…
Reference in a new issue