Forráskód Böngészése

close runtime after completion in main (#1860)

Xingyao Wang 1 éve
szülő
commit
7ca560471b
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      opendevin/core/main.py

+ 1 - 0
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()