Skip to content

Commit d42bdad

Browse files
author
Sergey Mashkov
committed
IO: fix accidentally missed it
1 parent 7bf4fa9 commit d42bdad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/ByteBufferChannel.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ internal class ByteBufferChannel(
10411041
}
10421042

10431043
suspend override fun writeFully(src: ByteBuffer) {
1044-
joining?.let { resolveDelegation(this, it)?.let { return .writeFully(src) } }
1044+
joining?.let { resolveDelegation(this, it)?.let { return it.writeFully(src) } }
10451045

10461046
writeAsMuchAsPossible(src)
10471047
if (!src.hasRemaining()) return

0 commit comments

Comments
 (0)