Skip to content

Commit

Permalink
Remove unnecessary logging (#232)
Browse files Browse the repository at this point in the history
It was unfortunately left behind after last round of debugging...

Pull request: #232
  • Loading branch information
szymon-rd authored Nov 13, 2023
1 parent a2f9580 commit 33b6887
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion os/src-jvm/ProcessOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ case class ProcGroup private[os] (commands: Seq[proc]) {
runnable.run()
} catch {
case e: IOException =>
println(s"Broken pipe in process $index")
queue.put(index)
}
}
Expand Down
2 changes: 0 additions & 2 deletions os/src-jvm/SubProcess.scala
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,11 @@ class ProcessPipeline(
var pipelineRunning = true
while (pipelineRunning) {
val brokenPipeIndex = queue.take()
println("Killing " + brokenPipeIndex)
if (brokenPipeIndex == processes.length) { // Special case signaling finished pipeline
pipelineRunning = false
} else {
processes(brokenPipeIndex).destroyForcibly()
}
println("Processes status: " + processes.map(_.isAlive()))
}
new Thread(
new Runnable {
Expand Down

0 comments on commit 33b6887

Please sign in to comment.