Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all transfers are cancelled. #410

Open
milad-gh opened this issue Oct 30, 2018 · 0 comments
Open

Not all transfers are cancelled. #410

milad-gh opened this issue Oct 30, 2018 · 0 comments

Comments

@milad-gh
Copy link

while (!dev->cancelled)

Hello,
I used some part of your libusb code for my project but i noticed one issue.

According to this line and when "libusb_handle_events_completed" is called when dev->cancelled becomes non zero the function will return and possilbly not all pending transfers are cancelled.

There should be a counting variable to handle all (NO_TRANSFERS_TO_SUBMIT) cancelled transfers.

Megamouse pushed a commit to RPCS3/hidapi that referenced this issue Jan 6, 2023
- not an independent build system, but a wrapper over CMake;
- may be used as a standalone Meson build or as a subproject;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant