Skip to content

Commit

Permalink
Merge pull request #4 from Exidnus/fix-wrong-stdin-queue-order
Browse files Browse the repository at this point in the history
Fix wrong stdin queue order
  • Loading branch information
fmonniot committed Jul 16, 2022
2 parents 3c627be + 0b01a80 commit f3574c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.5.2
sbt.version=1.7.1
2 changes: 1 addition & 1 deletion src/main/scala/eu/monniot/process/Process.scala
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ object Process {
// Ensure we consume the entire buffer in case it's not used.
buffer.position(buffer.limit)

dispatcher.unsafeRunAndForget(q.offer(Some(bv)))
dispatcher.unsafeRunSync(q.offer(Some(bv)))
}

override def onStdout(buffer: ByteBuffer, closed: Boolean): Unit =
Expand Down

0 comments on commit f3574c7

Please sign in to comment.