Skip to content

Commit 8995212

Browse files
Update io/jvm/src/main/scala/fs2/io/net/SelectingSocket.scala
Co-authored-by: Arman Bilge <[email protected]>
1 parent f957bb0 commit 8995212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/jvm/src/main/scala/fs2/io/net/SelectingSocket.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private final class SelectingSocket[F[_]: LiftIO] private (
100100
}
101101
}
102102

103-
Stream.eval(writeMutex.lock.surround(go(offset, count))).drain
103+
Stream.exec(writeMutex.lock.surround(go(offset, count)))
104104

105105
case _ =>
106106
super.sendFile(file, offset, count, chunkSize)

0 commit comments

Comments
 (0)