From 80d65156c8bb944eb9eb5e67bbf1b11bd2b6c2d3 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Wed, 3 Sep 2025 21:24:33 +0200 Subject: [PATCH] chore: adapt ServiceProvider.close call --- src/common/connectionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connectionManager.ts b/src/common/connectionManager.ts index 78e51edbc..403e760d4 100644 --- a/src/common/connectionManager.ts +++ b/src/common/connectionManager.ts @@ -242,7 +242,7 @@ export class MCPConnectionManager extends ConnectionManager { if (this.currentConnectionState.tag === "connected" || this.currentConnectionState.tag === "connecting") { try { - await this.currentConnectionState.serviceProvider?.close(true); + await this.currentConnectionState.serviceProvider?.close(); } finally { this.changeState("connection-close", { tag: "disconnected",