Skip to content

Windows GPA to close the process handler using close_process_handler#269

Merged
ZhidongPeng merged 5 commits into
Azure:devfrom
ZhidongPeng:close
Sep 2, 2025
Merged

Windows GPA to close the process handler using close_process_handler#269
ZhidongPeng merged 5 commits into
Azure:devfrom
ZhidongPeng:close

Conversation

@ZhidongPeng

Copy link
Copy Markdown
Collaborator

Windows GPA: Process""from_pid leaks process handles, as the caller of get_process_handler must close the process handle when it is no longer needed to avoid resource leaks.
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-openprocess

@ZhidongPeng ZhidongPeng enabled auto-merge (squash) September 2, 2025 17:55
@ZhidongPeng ZhidongPeng merged commit 1ecb9a6 into Azure:dev Sep 2, 2025
12 checks passed
@ZhidongPeng ZhidongPeng deleted the close branch September 2, 2025 20:56
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