fix(cli,chromium-runtime): clean up long-lived test runner resources after runs to prevent hanging processes

This commit is contained in:
2026-03-27 17:19:43 +00:00
parent 099eff0b1e
commit 3b2a5982a2
5 changed files with 19 additions and 337 deletions

View File

@@ -277,6 +277,9 @@ export class ChromiumRuntimeAdapter extends RuntimeAdapter {
}
try {
for (const client of wss.clients) {
client.terminate();
}
wss.close();
} catch (error) {
// WebSocket server might already be closed