What does the "Auto-Stop" setting in "Launch Nested Actor" do? I noticed that I still had to include "Send Normal Stop" to stop the nested actor, even with the Auto-Stop setting set to TRUE. I had initially expected that it would stop as soon as the Caller Actor stopped when this setting was set to TRUE.
Solved! Go to Solution.
Auto-stop should propagate your Stop message to all nested actors. It won't guarantee the nesteds do anything about it. For example, they might keep running if they ignore the Stop, or a helper loop hangs.
Also, I don't think the root/caller actor will wait for them to shutdown; it forwards the Stop, then it dies. You can override Handle Error to create this "wait" behavior yourself, if you need it.
I noticed that I still had to include "Send Normal Stop" to stop the nested actor, even with the Auto-Stop setting set to TRUE.
You should not have to do that... that is indeed the whole point of the autostop. What happened that made you think you needed that?
I think it's exactly what would happen if you forked the caller when launching the nested actor:
Dingdingding! Give Jonzarwal a cupie doll. I had it wired as shown in the "Wrong" example. When I eliminated the fork, everything shut down as I expected. Thanks!