Removing conditional scheduling

This commit is contained in:
Viktor Klang 2011-02-14 02:40:57 +01:00
parent b5f9991ac9
commit 5cae50d3bf

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)
}
}