Skip to content

Fix race on stopping monitor#1377

Merged
WardenGnaw merged 2 commits intomainfrom
dev/waan/fixDisposeException
Dec 1, 2022
Merged

Fix race on stopping monitor#1377
WardenGnaw merged 2 commits intomainfrom
dev/waan/fixDisposeException

Conversation

@WardenGnaw
Copy link
Member

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 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.
@WardenGnaw WardenGnaw merged commit 51a363e into main Dec 1, 2022
@WardenGnaw WardenGnaw deleted the dev/waan/fixDisposeException branch April 5, 2023 00:32
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.

2 participants