=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:
Endre Sándor Varga 2015-03-27 13:13:44 +01:00
parent 7081b6b9d4
commit 5559c34ca9
7 changed files with 15 additions and 14 deletions

View file

@ -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)
}
/**