mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-09 07:11:57 +00:00
Unregistering the input report callback marks the device as disconnected, so IOHIDDeviceClose() would never be called if the device wasn't already disconnected when hid_close() was called. Fixes https://github.com/libsdl-org/SDL/issues/12255