-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update TeachingTip to use XamlRootChanged_revoker #6121
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I think SwipeControl is using the old code too: Maybe it's worth changing it too? |
Let me fix that too. |
Fixed SwipeControl also. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
There is an issue with the XamlRoot Changed event handler that results in the C++/WinRT auto_revoker not working as expected. This had the effect that the event handler was not being revoked in TeachingTip and when the XamlRoot.Changed event fired, we would raise the event on a potentially deleted TeachingTip. This is causing crashes in apps.
The solution is to use a custom implementation of XamlRootChanged_revoker.
The underlying issue with the XamlRoot.Changed event is tracked by OS Bug 21302432.