Skip to content

Merge 'main' into 'release_mdd'#1379

Merged
WardenGnaw merged 2 commits intorelease_mddfrom
main
Dec 2, 2022
Merged

Merge 'main' into 'release_mdd'#1379
WardenGnaw merged 2 commits intorelease_mddfrom
main

Conversation

@WardenGnaw
Copy link
Member

No description provided.

* Fix race on stopping monitor

This PR fixes the race condition when disposing of the RegistryMonitor
and when detecting the stop.

This PR modifies Dispose to call Stop() which will cause the wait
handler to fire and stop the Monitor thread which will properly dispose
of the object.
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 8685148 into release_mdd Dec 2, 2022
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.

1 participant