public bool Stop(HostControl hostControl) { CategoryCommanderActor.Tell(PoisonPill.Instance); CategoryQueryActor.Tell(PoisonPill.Instance); GlobalActorSystem.Terminate().Wait(5000); return(true); }
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); }