Skip to content

Fix NPE with watching NatvisSection#1378

Merged
WardenGnaw merged 1 commit intomainfrom
dev/waan/fixNatvisSectionNull
Dec 1, 2022
Merged

Fix NPE with watching NatvisSection#1378
WardenGnaw merged 1 commit intomainfrom
dev/waan/fixNatvisSectionNull

Conversation

@WardenGnaw
Copy link
Member

This PR fixes the variable used for the RegistryMonitor on a fresh VS instance.

If the private registry does not have a NatvisDiagnostic section, it will watch for its creation then delete this watcher. However when creating the new watcher it would watch on a null section instead of the new natvis section.

This PR fixes that issue.

This PR fixes the variable used for the RegistryMonitor on a fresh VS
instance.

If the private registry does not have a NatvisDiagnostic section, it
will watch for its creation then delete this watcher.
However when creating the new watcher it would watch on a null section
instead of the new natvis section.

This PR fixes that issue.
@WardenGnaw WardenGnaw merged commit e34f879 into main Dec 1, 2022
@WardenGnaw WardenGnaw deleted the dev/waan/fixNatvisSectionNull branch December 1, 2022 21:57
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