+str fix for "fail offer future when stream is completed" QueueSource/SinkSpec

This commit is contained in:
Alexander Golubev 2017-08-10 20:20:55 -04:00
parent bb106aa27e
commit eff6c409d1
6 changed files with 24 additions and 6 deletions

View file

@ -353,7 +353,7 @@ import akka.util.OptionVal
}
override def postStop(): Unit = stopCallback {
case Pull(promise) promise.failure(new IllegalStateException("Stream is terminated. QueueSink is detached"))
case Pull(promise) promise.failure(new StreamDetachedException())
case _ //do nothing
}