Incorporate review feedback, see #2550

This commit is contained in:
Patrik Nordwall 2012-09-28 11:18:15 +02:00
parent c6dd37607c
commit ba7a18dde5
7 changed files with 29 additions and 11 deletions

View file

@ -76,6 +76,8 @@ private[akka] class RemoteDeploymentWatcher extends Actor {
// send extra ChildTerminated to the supervisor so that it will remove the child
if (t.addressTerminated) supervisors(a).sendSystemMessage(ChildTerminated(a))
supervisors -= a
case _: Terminated
}
}