dsosnoski/akka-email — pull request #1 by kalmanb (2012-12-19 07:59:00+00:00)
Title: Fixes for race conditions

Hi Dennis,

You had a race condition between instantiating the Actors and looking them up.

There are two different commits with two different solutions here for the issue. The first is to do the lookups lazily. The second is to reorder the creation so that the actor is created before the lookup is made within each sub-actor.

I found that both absolute and relative paths failed if I ran the project enough times. This is fixed in both solutions.

Another thing to note with Eclipse is if it failed for me the task keep running. It was hard to notice, I had to kill a few that were left there. This could be why you had issues with reloading/compilation.

Kal