diff --git a/apps/t3/src/runtimeApiServer.ts b/apps/t3/src/runtimeApiServer.ts index bafb80d1d0..85918351d8 100644 --- a/apps/t3/src/runtimeApiServer.ts +++ b/apps/t3/src/runtimeApiServer.ts @@ -767,6 +767,7 @@ export async function startRuntimeApiServer( processManager.killAll(); providerManager.stopAll(); providerManager.dispose(); + activeClient = null; for (const client of wss.clients) { client.terminate(); }