Skip to content

Commit 8f5bbd3

Browse files
committed
docs: correct stale fullyCaptured comment to match best-effort source close
1 parent a1ce62b commit 8f5bbd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk-core/src/main/kotlin/org/dexpace/sdk/core/http/response/LoggableResponseBody.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public class LoggableResponseBody
9797
private var closed = false
9898

9999
// True once the whole body fit within the cap and was drained into [captured]; the drain
100-
// path closes the source via `.use {}` in that case, so [source] can hand out repeatable
100+
// path closes the source (best-effort) in that case, so [source] can hand out repeatable
101101
// peek() views and close() must not double-close the delegate.
102102
@Volatile
103103
private var fullyCaptured = false

0 commit comments

Comments
 (0)