akka-bootcamp
akka-bootcamp copied to clipboard
Lesson 2.3 - Constructor of PerformanceCounterCoordinatorActor never gets called
Hi,
I have compared my code to the completed code, and aside from my preference for the typed version of Props.Create, there isn't any difference in the Main_Load, yet the constructor of the PerformanceCounterCoordinatorActor is never called
_coordinatorActor = Program.ChartActors.ActorOf( Props.Create<PerformanceCounterCoordinatorActor>(_chartActor), "counters");
What am I missing? (Implicitly, it never gets told anything, the debug never hits the lambda's in the Receive methods. I can see an instance is there, when I place a breakpoint in the ButtonToggleActor constructor, so this is even more weird)
LE: i posted this here since I am at work and cannot access the chat/forum/whatever @ https://gitter.im/petabridge/akka-bootcamp
I copied the code above to the complete version of Lesson 2.3 and was able to get the PerformanceCounterCoordinatorActor
to be called. Where did you set your breakpoint? And are you still wanting to troubleshoot this issue?