akka-bootcamp icon indicating copy to clipboard operation
akka-bootcamp copied to clipboard

Lesson 2.3 - Constructor of PerformanceCounterCoordinatorActor never gets called

Open silviumihaipreda opened this issue 7 years ago • 1 comments

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

silviumihaipreda avatar May 26 '17 06:05 silviumihaipreda

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?

izavala avatar Mar 27 '19 20:03 izavala