forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UnixRegistry] Fix leak (#25559), remove races.
There was a memory leak caused by not having a lookup mechanism for the RegistryKey. In addition, the entire code to dispose code was never used (due to the leak), and it was wrong. In addition, added locking to the "values" field, which currently was racy. No test cases, the repro is to run the above code for about 5 minutes.
- Loading branch information
1 parent
ef380e3
commit 8260601
Showing
2 changed files
with
134 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters