Actors should shut down on receiving a Terminate message or when the terminate method on the surrounding actor node is called.
When the actor received a Terminate message it will send the Terminate message to all its child actors. After shutdown the actor sends a Terminated message to its parent to remove the reference to the child actor.
The root actor must stop the app guardian before the system guardian to allow system services like logging to be available during shutdown.
Actors should shut down on receiving a Terminate message or when the terminate method on the surrounding actor node is called.
When the actor received a Terminate message it will send the Terminate message to all its child actors. After shutdown the actor sends a Terminated message to its parent to remove the reference to the child actor.
The root actor must stop the app guardian before the system guardian to allow system services like logging to be available during shutdown.