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

javax.usb.UsbException: Pipe is still busy #77

Open
WanManito opened this issue Feb 19, 2020 · 0 comments
Open

javax.usb.UsbException: Pipe is still busy #77

WanManito opened this issue Feb 19, 2020 · 0 comments

Comments

@WanManito
Copy link

Environment:

  • OS: Windows 10
  • Java version [Java 8]
  • usb4java version [1.3.0]

Bug description
javax.usb.UsbException: Pipe is still busy,
When I call syncSubmit methods
image
Then close the receive channel and you get this error
keepRecived = false;
if (iface != null) {
sendUsbPipe.close();
receivedUsbPipe.close();
iface.release();
iface = null;
sendUsbPipe = null;
receivedUsbPipe = null;
}

Reproduction
Open a usb port and start the thread to receive data continuously

Expected behavior
Call close to close normally instead of calling an exception,And the second connection to The Times exception is not closed,This is caused by closing The Times exception

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