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

Clean up if device intialization fails. #3

Merged
merged 1 commit into from
Feb 22, 2019
Merged

Conversation

jlassahnrigado
Copy link
Contributor

Make sure the HCI socket is closed if device initialization fails.
Without this, the library leaks file handles on errors.

Copy link
Contributor

@estutzenberger estutzenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estutzenberger estutzenberger merged commit 0dba3c0 into master Feb 22, 2019
@jlassahnrigado jlassahnrigado deleted the fix/init_error branch March 4, 2019 21:47
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

Successfully merging this pull request may close these issues.

2 participants