move deadLetterMailbox into Mailboxes and fix review comments, see #3342

This commit is contained in:
Roland 2013-06-03 11:41:11 +02:00
parent 141656a054
commit 20eb28a03c
13 changed files with 72 additions and 46 deletions

View file

@ -340,7 +340,7 @@ class CallingThreadMailbox(_receiver: akka.actor.Cell, val mailboxType: MailboxT
val qq = queue
CallingThreadDispatcherQueues(actor.system).gatherFromAllOtherQueues(this, qq)
super.cleanUp()
qq.cleanUp(actor.self, actor.systemImpl.deadLetterMailbox.messageQueue)
qq.cleanUp(actor.self, actor.dispatcher.mailboxes.deadLetterMailbox.messageQueue)
q.remove()
}
}