示例#1
0
 public virtual void Stop()
 {
     if (!IsStopped)
     {
         if (LifeCycle.Address.Id != World.DeadLettersId)
         {
             LifeCycle.Stop(this);
         }
     }
 }
示例#2
0
 /// <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);
         }
     }
 }