You have to watch the actor to receive the Terminated-message when it stops.
context watch childActor
As for the question about context.child, I don't know (never used that one
myself)....
Regards,
Anders
tirsdag 21. april 2015 09.58.25 UTC+2 skrev Andrew Easter følgende:
>
> I've struggled to find any explicit documentation to state how a parent
> actor reacts to a child actor stopping itself.
>
> If a child actor calls:
>
> context stop self
>
> Will its parent be notified that the child has stopped such that a call
> within the parent to:
>
> context.child("<name_of_stopped_child>")
>
> will - once the child has completely stopped - eventually return None?
>
>
>
>
>
>
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.