=str 20843 Scan failure should flow downstream ASAP

This commit is contained in:
Konrad Malawski 2016-07-05 00:00:52 -04:00 committed by Konrad Malawski
parent f679e14168
commit a299644b21
2 changed files with 1 additions and 8 deletions

View file

@ -324,12 +324,6 @@ private[akka] final case class Scan[In, Out](zero: Out, f: (Out, In) ⇒ Out) ex
completeStage()
}
})
override def onUpstreamFailure(ex: Throwable): Unit = setHandler(out, new OutHandler {
override def onPull(): Unit = {
push(out, aggregator)
failStage(ex)
}
})
})
override def onPull(): Unit = pull(in)