Reset active client reference during runtime shutdown

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 01:40:18 +00:00
1 parent ea0f27dc60
commit 5b28cfbbe9
1 file changed
+1
+1
View File
@@ -767,6 +767,7 @@ export async function startRuntimeApiServer(
processManager.killAll();
providerManager.stopAll();
providerManager.dispose();
activeClient = null;
for (const client of wss.clients) {
client.terminate();
}