public virtual void Stop() { if (!IsStopped) { if (LifeCycle.Address.Id != World.DeadLettersId) { LifeCycle.Stop(this); } } }
/// <summary> /// Initiates the process or stopping this <c>Actor</c> and all of its children. /// </summary> public virtual void Stop() { if (!IsStopped) { if (LifeCycle.Address.Id != World.DeadLettersId) { // TODO: remove this actor as a child on parent LifeCycle.Stop(this); } } }