fix crashing due to null exception in compute system cache by bbonaby · Pull Request #2880 · microsoft/devhome (original) (raw)

Summary of the pull request

This PR fixes a crashing issue where we look at the lazy loaded value of a DeveloperID without a null check on the value.

Video of me invoking each operation without crashing Dev Home:

performing.operations.without.crashing.mp4

References and relevant issues

Detailed description of the pull request / Additional comments

Validation steps performed

Confirmed all hyper-v operations do not crash dev home.
Note: Once #2861 is fixed the state of the card should be updated correctly

PR checklist