Skip to content

Commit 80d6515

Browse files
chore: adapt ServiceProvider.close call
1 parent dd05c9f commit 80d6515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/connectionManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export class MCPConnectionManager extends ConnectionManager {
242242

243243
if (this.currentConnectionState.tag === "connected" || this.currentConnectionState.tag === "connecting") {
244244
try {
245-
await this.currentConnectionState.serviceProvider?.close(true);
245+
await this.currentConnectionState.serviceProvider?.close();
246246
} finally {
247247
this.changeState("connection-close", {
248248
tag: "disconnected",

0 commit comments

Comments
 (0)