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

Handle a missing PropertySet gracefully #2579

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

krschau
Copy link
Collaborator

@krschau krschau commented Apr 10, 2024

Summary of the pull request

#2532 showed us that a missing PropertySet can crash Dev Home. Instead, have it handle it gracefully. All callers of GetSubPropertySet() properly handle the null return case.

Validation steps performed

Validated locally with extension that does not define SupportedInterfaces.

@AmelBawa-msft AmelBawa-msft added the Needs-Second Pull request that needs another approval label Apr 10, 2024
@krschau krschau removed the Needs-Second Pull request that needs another approval label Apr 10, 2024
@krschau krschau merged commit f8e0dc4 into main Apr 10, 2024
4 checks passed
@krschau krschau deleted the user/krschau/handle-no-propset branch April 10, 2024 20:30
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.

3 participants