move deadLetterMailbox into Mailboxes and fix review comments, see #3342
This commit is contained in:
parent
141656a054
commit
20eb28a03c
13 changed files with 72 additions and 46 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue