Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hid_close will close immediately on win32
see signal11/hidapi#416 In multi-thread environment, if the hid_read thread is different from the hid_close thread, the hid_read function will block the thread exiting, at the wait object operation. This fix just set the event, after cancel io, so that, hid_read not wait anymore and exiting read
- Loading branch information