瀏覽代碼

close runtime after completion in main (#1860)

Xingyao Wang 1 年之前
父節點
當前提交
7ca560471b
共有 1 個文件被更改,包括 1 次插入0 次删除
  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()