Fixing ReceiveTimeout

This commit is contained in:
Viktor Klang 2011-09-21 17:22:08 +02:00
parent 3d12e47e7d
commit 049d653780
3 changed files with 3 additions and 3 deletions

View file

@ -284,7 +284,7 @@ abstract class MessageDispatcher extends Serializable {
/**
* Returns the "current" emptiness status of the mailbox for the specified actor
*/
def mailboxIsEmpty(actor: ActorCell): Boolean = actor.mailbox.hasMessages
def mailboxIsEmpty(actor: ActorCell): Boolean = !actor.mailbox.hasMessages
/**
* Returns the amount of tasks queued for execution