Added cleanUp callback in Mailbox, dused in ZooKeeper. Some minor cleanup

This commit is contained in:
Patrik Nordwall 2011-11-15 14:39:43 +01:00
parent cf675d29ce
commit a6e75fb702
6 changed files with 19 additions and 16 deletions

View file

@ -199,6 +199,7 @@ abstract class MessageDispatcher(val app: ActorSystem) extends Serializable {
actor.mailbox = deadLetterMailbox
mailBox.becomeClosed() // FIXME reschedule in tell if possible race with cleanUp is detected in order to properly clean up
cleanUpMailboxFor(actor, mailBox)
mailBox.cleanUp()
}
/**