Fixing the mailboxes and asserts in the ActorModelSpec

This commit is contained in:
Viktor Klang 2011-09-21 18:48:54 +02:00
parent d827b52001
commit 4eb948addd
5 changed files with 19 additions and 25 deletions

View file

@ -175,7 +175,6 @@ abstract class MessageDispatcher extends Serializable {
protected[akka] def unregister(actor: ActorCell) = {
if (uuids remove actor.uuid) {
cleanUpMailboxFor(actor)
actor.mailbox = deadLetterMailbox
if (uuids.isEmpty && _tasks.get == 0) {
shutdownSchedule match {
case UNSCHEDULED