2 Apr
2025
2 Apr
'25
7:04 a.m.
Rémi Bernon (@rbernon) commented about dlls/joy.cpl/dinput.c:
case PSN_RESET: case PSN_KILLACTIVE: UnregisterDeviceNotification( devnotify ); + devnotify = NULL;
```suggestion:-1+0 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). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7719#note_99647