Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

remove reg close #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

remove reg close #43

wants to merge 1 commit into from

Conversation

mattdurham
Copy link
Contributor

If you check the error from RegCloseKey it returns an invalid handle, and for whatever reason will crash the debugger if using delve.

@leoluk
Copy link
Owner

leoluk commented May 14, 2023

Hmm - the docs are pretty clear on having to call RegCloseKey in order to free perflib DLLs: https://learn.microsoft.com/de-de/windows/win32/perfctrs/using-the-registry-functions-to-consume-counter-data

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants