def __del__(self): if ray.is_connected() and self.id is not None: ray.call_release(self.id)
def __del__(self): if ray.is_connected(): ray.call_release(self.id)
def __del__(self) -> None: if ray.is_connected(): ray.call_release(self.actor_ref.id)
def __del__(self) -> None: ray.call_release(self.actor_ref.id)