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

The second connection is not working properly #88

Closed
WanManito opened this issue Feb 20, 2020 · 3 comments
Closed

The second connection is not working properly #88

WanManito opened this issue Feb 20, 2020 · 3 comments
Assignees
Milestone

Comments

@WanManito
Copy link

In version 0.5.0, I tested read and write normally,
But here's what I did when I tried to free up resources
image

No exception was reported, but when the device was opened again, it was found to be null,as shown below ,
image

The normal situation would be as follows
image

Strangely enough, after I waited a while, the device was able to connect back to normal

I don't know if I release resources incorrectly or some other reason

@gary-rowe
Copy link
Owner

That looks correct, but it may be that the resources are taking longer to be released than expected. Is it still happening with latest develop-SNAPSHOT version?

@gary-rowe gary-rowe self-assigned this Jul 1, 2020
@gary-rowe gary-rowe added the awaiting review This code is awaiting the original creator of the issue to review the solution and provide feedback label Jul 1, 2020
@gary-rowe gary-rowe added this to the Release 0.6.0 milestone Jul 1, 2020
@WanManito
Copy link
Author

I dropped this solution in favor of USB4Java,I don't know if the solution you wrote supports Linux

@gary-rowe
Copy link
Owner

Thanks for getting back to me. hid4java does support Linux but if you've moved on to use usb4java instead then I'll close this issue for now.

@gary-rowe gary-rowe removed the awaiting review This code is awaiting the original creator of the issue to review the solution and provide feedback label Jul 6, 2020
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

2 participants