Good practice of actors to avoid from memory leaks

All started in writing system with big amount of actors, realized that
I am sending message without case to handle in react, and tried to
find good solution to avoid that problems. I decided to implement
something like default case:
//for each actor
.......................
react{
//all cases
case msg: Any => Spam!msg
}
........................
Then implement Spam actor:
object Spam extends Actor{
def act{
loop{
react{
case spam: Any => logSpam(spam)//or save to database
}
}
}
}

Full version of question you can find here
http://stackoverflow.com/questions/7472041/scala-actors-is-it-good-pract....

Is it good practice or is scala has some native way to handle such
problem?

Copyright © 2013 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland