Removing conditional scheduling

This commit is contained in:
Viktor Klang 2011-02-14 02:40:57 +01:00
parent fef5bc40a8
commit 05c12742e3

View file

@ -149,8 +149,8 @@ class ExecutorBasedEventDrivenDispatcher(
def resume(actorRef: ActorRef) {
log.slf4j.debug("Resuming {}",actorRef.uuid)
val mbox = getMailbox(actorRef)
if (mbox.suspended.tryUnlock)
registerForExecution(mbox)
mbox.suspended.tryUnlock
registerForExecution(mbox)
}
}