Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Jan 9, 2024
1 parent 99cd2e9 commit 79be044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio-http/src/main/scala/zio/http/StreamingForm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ final case class StreamingForm(source: ZStream[Any, Throwable, Byte], boundary:
// If the fieldStream fails, we need to make sure the reader stream can be interrupted, as it may be blocked
// in the unsafe.run(queue.offer) call (interruption does not propagate into the unsafe.run). This is implemented
// by setting the abort promise which is raced within the unsafe run when offering the element to the queue.
abort.succeed().when(exit.isFailure)
abort.succeed(()).when(exit.isFailure)
}
fieldStream = ZStream.fromQueue(fieldQueue).flattenTake
} yield fieldStream
Expand Down

0 comments on commit 79be044

Please sign in to comment.