Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ttc0419
Copy link
Contributor

@ttc0419 ttc0419 commented Jun 3, 2024

For long running programs, opening a sql connection without closing it will cause go routine leaks. Close sql driver after testing sqlite availability.

Copy link
Contributor

@wagoodman wagoodman left a comment

Choose a reason for hiding this comment

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

Great catch! 🙌

@wagoodman wagoodman added the bug Something isn't working label Jun 3, 2024
@wagoodman wagoodman enabled auto-merge (squash) June 3, 2024 14:19
auto-merge was automatically disabled June 3, 2024 14:25

Head branch was pushed to by a user without write access

@ttc0419 ttc0419 requested a review from wagoodman June 3, 2024 14:30
@wagoodman wagoodman enabled auto-merge (squash) June 3, 2024 14:33
@wagoodman wagoodman merged commit fe0b78b into anchore:main Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants