fix(datasync): dispose JsonDocument in JsonStreamingDataReader.Read()

This commit is contained in:
Joseph Doherty
2026-01-03 16:17:38 -05:00
parent bd1c2fd656
commit 6d2d8134cb
@@ -81,7 +81,7 @@ internal sealed class JsonStreamingDataReader : IDataReader
}
// Read the next JSON object
var jsonObject = ReadJsonObject();
using var jsonObject = ReadJsonObject();
if (jsonObject == null)
{
_finished = true;