Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mvicsokolova committed Apr 4, 2024
1 parent eee5a2b commit cff636f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal fun onBodyChunkReceived(
return -1
}
if (written > 0) {
wrapper.bytesWritten += written
wrapper.bytesWritten.addAndGet(written)
}
if (wrapper.bytesWritten.value == chunkSize) {
wrapper.bytesWritten.value = 0
Expand Down

0 comments on commit cff636f

Please sign in to comment.