- it was telling all children to stop(), then waited for the ChildTerminated messages and finally terminated itself - this worked fine, except when the stop came from the supervisor, i.e. the recipient was suspended and did not process the ChildTerminated - so, as the mirror of Supervise() that it is, I changed ChildTerminated() to be a system message and instead of stopping processing normal messages by checking the stopping flag, just suspend the actor while awaiting the ChildTerminated's to flow in. |
||
|---|---|---|
| .. | ||
| src | ||