diff --git a/llama-index-integrations/tools/llama-index-tools-docker-code/llama_index/tools/docker_code/base.py b/llama-index-integrations/tools/llama-index-tools-docker-code/llama_index/tools/docker_code/base.py index 1cd33974f1ac5..b61fa759c982e 100644 --- a/llama-index-integrations/tools/llama-index-tools-docker-code/llama_index/tools/docker_code/base.py +++ b/llama-index-integrations/tools/llama-index-tools-docker-code/llama_index/tools/docker_code/base.py @@ -326,4 +326,5 @@ def create_directory(self, dirname: str) -> bool: def __del__(self) -> None: """Clean up resources when the object is deleted.""" + self.container.stop() self.client.close()