Skip to content

πŸ™Œ OpenHands: AI-Driven Development

close runtime after completion in main (#1860)

Xingyao Wang7ca560471bd2
diff --git a/opendevin/core/main.py b/opendevin/core/main.py
index fc821ed4e4..0ffe0f2e8d 100644
--- a/opendevin/core/main.py
+++ b/opendevin/core/main.py
@@ -119,6 +119,7 @@ async def main(
await asyncio.sleep(1) # Give back control for a tick, so the agent can run
await controller.close()
+ runtime.close()
return controller.get_state()