Skip to content

Dispose MCP client after failed connection - #142

Open
dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-129-mcp-failure-cleanup
Open

dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-129-mcp-failure-cleanup

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #129

Description

Dispose a client created by the connection attempt when ping or tool enumeration fails before the client enters the cache.

PR type

  • Bug fix

PR checklist

  • Application successfully launched
  • Source file headers added where required
  • No breaking changes

Validation

Desktop x64 build: 7 projects, 0 errors/warnings (MSIX packaging disabled). App not launched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] MCP 客户端连接失败后没有释放已创建的客户端

1 participant