fix(cli,chromium-runtime): clean up long-lived test runner resources after runs to prevent hanging processes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user