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
,
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
Environment:
Bug description
,
javax.usb.UsbException: Pipe is still busy,
When I call syncSubmit methods
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