Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"

This reverts commit a9624c0fff.
This commit is contained in:
Aiden Cline
2025-10-27 01:30:13 -05:00
parent a9624c0fff
commit 1a6fd018f6
7 changed files with 51 additions and 71 deletions

View File

@@ -145,7 +145,9 @@ export namespace MCP {
}
},
async (state) => {
await Promise.all(Object.values(state.clients).map((client) => client.close()))
for (const client of Object.values(state.clients)) {
client.close()
}
},
)