Derek Wyatt
Posts: 69
Nickname: dwyatt
Registered: Oct, 2012
|
|
Re: Section 6.5 - gracefulStop
|
Posted: Oct 22, 2012 11:00 PM
|
|
"gracefulStop" is intended to gracefully stop things (duh :D), and while you are doing the same-ish thing that it's doing, that doesn't mean you're doing a graceful stop. But, either way, neither of them technically do what you want them to do.
I hit this a long time ago and it annoyed me a lot, but the reuse of a name is merely a nicety for testing, not for production code. And it's this reason why I use ActorSystem isolation instead, in these rare cases where an Actor's name is vital to the structure of the application.
This fits with, and works with, what the toolkit provides. Going with the flow is going to pay off... not only now, but as things change.
|
|