mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 17:28:53 +00:00
Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit a9624c0fff.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user