Skip to content

Unsubscribe MCP control when unloaded - #139

Open
dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-126-mcp-unsubscribe
Open

dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-126-mcp-unsubscribe

Conversation

@dajiaohuang

Copy link
Copy Markdown

Fixes #126

Description

Remove the PropertyChanged handler during unload so each control lifetime has a single subscription.

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 控件卸载时重复订阅 PropertyChanged

1 participant