public Unit ShutdownProcess(bool maintainState) { Parent.Actor.UnlinkChild(Id); ShutdownProcessRec(ActorContext.SelfProcess, ActorContext.GetInboxShutdownItem().Map(x => (ILocalActorInbox)x.Inbox), maintainState); children = Map.empty <string, ActorItem>(); return(unit); }
public Unit ShutdownProcess() { //tellSystem(Parent.Actor.Id, SystemMessage.UnlinkChild(Id)); Parent.Actor.UnlinkChild(Id); ShutdownProcessRec(ActorContext.SelfProcess, ActorContext.GetInboxShutdownItem().Map(x => (ILocalActorInbox)x.Inbox)); children = Map.empty <string, ActorItem>(); return(unit); }