예제 #1
0
 public bool Stop(HostControl hostControl)
 {
     CategoryCommanderActor.Tell(PoisonPill.Instance);
     CategoryQueryActor.Tell(PoisonPill.Instance);
     GlobalActorSystem.Terminate().Wait(5000);
     return(true);
 }
예제 #2
0
        public bool Stop(HostControl hostControl)
        {
            _logger.Information("Release the actor system, query, commander and process manager resources.");

            CategoryCommanderActor.Tell(PoisonPill.Instance);
            CategoryQueryActor.Tell(PoisonPill.Instance);
            GlobalActorSystem.Terminate();

            return(true);
        }