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:
Solareon 2026-04-08 09:32:46 +02:00
parent 2bf8b86243
commit 08524e94ba

View file

@ -409,7 +409,6 @@ internal class JsonMessageWriter(Stream stream, ExportContext context)
}
_writer.WriteEndObject();
await _writer.FlushAsync(cancellationToken);
}
public override async ValueTask WritePreambleAsync(