Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libusb: stop
read_thread
from looping indefinitely (signal11#457)
- 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: signal11#456
- Loading branch information