Derek Wyatt
Posts: 69
Nickname: dwyatt
Registered: Oct, 2012
|
|
Re: Ch 6.5 MyActorSpec
|
Posted: Feb 27, 2016 12:16 PM
|
|
It's very possible that it doesn't. I've hunted through the book a bit and I can't see that it should. It's possible that a change to the text, at some point, eliminated some code that I recall writing. It was something that would throw an exception if it was built with the wrong name... however, that would have required a deep integration with the calling thread dispatcher.
I wouldn't worry about it too much... chalk it up to a bug in the book. The main idea is still that actor names must be unique, so naming them specifically in a test can be a bad idea, should you create that actor many times in a test. So you either need to use different names, or use isolated actor systems, as the text goes on to say.
Sorry about the confusion.
|
|