Skip to content
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

Wrap WidgetDefinition objects in a COM-safe wrapper #2622

Merged
merged 9 commits into from
Apr 17, 2024

Conversation

krschau
Copy link
Collaborator

@krschau krschau commented Apr 12, 2024

Summary of the pull request

Since WidgetDefinition objects are out of process, they can disappear out from under us throwing COMExceptions and crashing Dev Home. Wrap them in a new ComSafeWidgetDefinition wrapper, which catches these exceptions and gets a new, valid object when the old one goes away.

This PR is currently targeted into the branch for #2620, will retarget after that goes in.

References and relevant issues

Detailed description of the pull request / Additional comments

Validation steps performed

PR checklist

@krschau krschau force-pushed the user/krschau/comsafewidgetdefinition branch from fbde8aa to 13a5c89 Compare April 12, 2024 17:15
@krschau krschau force-pushed the user/krschau/comsafewidget branch 2 times, most recently from b435f8f to cb44ee5 Compare April 15, 2024 21:42
@krschau krschau marked this pull request as draft April 15, 2024 22:50
@krschau krschau force-pushed the user/krschau/comsafewidgetdefinition branch 2 times, most recently from bb2d779 to d0c8867 Compare April 16, 2024 16:45
@krschau krschau force-pushed the user/krschau/comsafewidgetdefinition branch from d0c8867 to e3054c3 Compare April 16, 2024 21:33
@krschau krschau changed the base branch from user/krschau/comsafewidget to main April 16, 2024 21:34
@krschau krschau marked this pull request as ready for review April 16, 2024 21:34
@EricJohnson327 EricJohnson327 merged commit f02dde0 into main Apr 17, 2024
4 checks passed
@EricJohnson327 EricJohnson327 deleted the user/krschau/comsafewidgetdefinition branch April 17, 2024 18:18
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.

Dashboard crashing
4 participants