On Wed Apr 2 07:04:06 2025 +0000, Rémi Bernon wrote:
if (!devnotify) break; UnregisterDeviceNotification( devnotify ); devnotify = NULL;
If we're going through this multiple times I think the other statements below will also have problems (closing handles twice, etc).
Thanks for looking into it. I have added the break in v2.