+str fix for "fail offer future when stream is completed" QueueSource/SinkSpec
This commit is contained in:
parent
bb106aa27e
commit
eff6c409d1
6 changed files with 24 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue