mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 08:56:07 -04:00
5ce9051e2f
- When `libusb_submit_transfer` in `read_thread` fails, `read_callback` never gets called and never sets `transfer_loop_finished` to true, causing `read_thread` to loop indefinitely; - Do not attempt to run a read loop if the initial `libusb_submit_transfer` fails fixes the issue; Fixes: #456