Overlay leaks a process handle about 4 times a second
Fresh
With the overlay on, Voicemod.exe opens the process of the window in front about 4 times a second and never closes the
handle. Its handle count grows by about 250 a minute for as long as it runs: after a day and a half it held about 462,000
handles. Every new one is a Process handle to whatever program is in front, opened with PROCESS_QUERY_LIMITED_INFORMATION |
PROCESS_VM_READ (0x1010). A program that closes while Voicemod still holds handles to it stays in kernel memory until Voicemod
quits.
Steps to reproduce:
- Turn the overlay on.
- Open Task Manager > Details, right-click the column header > Select columns, and tick Handles.
- Leave any window in front and watch Voicemod.exe's Handles: it rises by about 4 every second.
- Turn the overlay off: it stops rising. The handles already opened stay until Voicemod quits.
What I measured: 191 new Process handles in 45 seconds with one window in front, every one of them naming that window's
program, and none in 30 seconds after turning the overlay off.
Expected: the handle closed again after reading the program's path (CloseHandle), or the lookup done only when the window in
front changes.
Also: the overlay's app list in settings.ini (overlayConfig) gets a new entry for every Discord Canary update, since each
version has its own folder. Mine has 95 entries, 78 of them Discord Canary versions.
Voicemod 3.17.49, Windows 11 (build 26300). For now I keep the overlay off.

Voicemod User Support
Thank you for contributing to our community and sharing your feedback!
We’ll review your suggestions with the relevant team and keep them in mind for future updates.
We’re constantly working to improve the app and provide the best possible voice-changing experience.
Your feedback is invaluable and helps shape the future of our product.