On "Refleaks" buildbot jobs, test.regrtest checks for leaks of references, memory blocks and file descriptors. I propose to check also for leaks of Windows handles by calling `GetProcessHandleCount()` with `GetCurrentProcess()`. <!-- gh-linked-prs --> ### Linked PRs * gh-154140 * gh-154201 * gh-154202 * gh-154203 * gh-154204 <!-- /gh-linked-prs -->
On "Refleaks" buildbot jobs, test.regrtest checks for leaks of references, memory blocks and file descriptors.
I propose to check also for leaks of Windows handles by calling
GetProcessHandleCount()withGetCurrentProcess().Linked PRs