def shutdown(self):
    'Shuts down the workers in the worker group.'
    try:
        self._backend.on_shutdown(self.worker_group, self._backend_config)
    except RayActorError:
        logger.warning('Graceful shutdown of backend failed. This is expected if one of the workers has crashed.')
    self.worker_group.shutdown()
    self.worker_group = InactiveWorkerGroup()
Shuts down the workers in the worker group.
def shutdown(self):
    
    try:
        self._backend.on_shutdown(self.worker_group, self._backend_config)
    except RayActorError:
        logger.warning('Graceful shutdown of backend failed. This is expected if one of the workers has crashed.')
    self.worker_group.shutdown()
    self.worker_group = InactiveWorkerGroup()