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: potential goroutine leaks on ReadRows #57

Merged

Conversation

muktihari
Copy link
Contributor

Hi @AndyThurgood and everyone, here is the fix for #56.

This is the viable solution I can think of without changing the API. The active goroutines will not be immediately terminated, but at least they will be terminated after the Close() method is called.

Please kindly review, thank you!

CC @dglsparsons

This should close #56

@AndyThurgood
Copy link
Contributor

Tagging @KingMichaelPark, as I'm not a maintainer on this repo anymore...

@KingMichaelPark KingMichaelPark self-requested a review May 31, 2024 20:23
@KingMichaelPark KingMichaelPark merged commit e3df699 into TheDataShed:master May 31, 2024
@muktihari muktihari deleted the fix/goroutine-leaks-on-readrows branch May 31, 2024 20:45
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.

proposal: fix goroutine leaks when calling ReadRows
4 participants