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

Fix calling libcec_close twice on drop #46

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

kira-bruneau
Copy link
Contributor

@kira-bruneau kira-bruneau commented Sep 12, 2024

The libcec_close call in CecConnection::drop is unnecessary because libcec_destroy already calls libcec_close: https://github.com/Pulse-Eight/libcec/blob/libcec-6.0.2/src/libcec/LibCECC.cpp#L53-L61

@ssalonen
Copy link
Owner

Lint seems to be breaking with old untouched code. Not related to this PR - just new rules...

@kira-bruneau
Copy link
Contributor Author

kira-bruneau commented Sep 13, 2024

Ok! I just created a new PR for that here: #50. I can rebase the other PRs once that is in to make it easier to review.

@ssalonen ssalonen closed this Oct 12, 2024
@ssalonen ssalonen reopened this Oct 12, 2024
@ssalonen ssalonen closed this Oct 12, 2024
@ssalonen ssalonen reopened this Oct 12, 2024
@ssalonen ssalonen merged commit 0a51706 into ssalonen:master Oct 12, 2024
11 of 39 checks passed
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