fix(datasync): dispose JsonDocument in JsonStreamingDataReader.Read()
This commit is contained in:
@@ -81,7 +81,7 @@ internal sealed class JsonStreamingDataReader : IDataReader
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read the next JSON object
|
// Read the next JSON object
|
||||||
var jsonObject = ReadJsonObject();
|
using var jsonObject = ReadJsonObject();
|
||||||
if (jsonObject == null)
|
if (jsonObject == null)
|
||||||
{
|
{
|
||||||
_finished = true;
|
_finished = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user