=str #16924: Fix FanoutProcessor to not overwrite last termination cause
Also fix FlowSpec to expect onError instead of onComplete for late subscribers
This commit is contained in:
parent
7081b6b9d4
commit
5559c34ca9
7 changed files with 15 additions and 14 deletions
|
|
@ -32,7 +32,7 @@ private[akka] object SubscriberManagement {
|
|||
def apply[T](subscriber: Subscriber[T]): Unit = tryOnError(subscriber, cause)
|
||||
}
|
||||
|
||||
val ShutDown = new ErrorCompleted(new IllegalStateException("Cannot subscribe to shut-down Publisher"))
|
||||
val ShutDown = new ErrorCompleted(ActorPublisher.NormalShutdownReason)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue