Skip to content

Conversation

cce
Copy link
Contributor

@cce cce commented Sep 26, 2015

This seems to prevent a goroutine leak after closing an S3 reader. I found that after reading and closing several S3 files, there was a goroutine left for each waiting in (*getter).getChunk on g.cond.Wait().

@rlmcpherson
Copy link
Owner

Thanks, LGTM.

rlmcpherson added a commit that referenced this pull request Sep 26, 2015
Wake up waiting getChunk getter goroutines on Close, close getter quit channel
@rlmcpherson rlmcpherson merged commit 38a6b34 into rlmcpherson:master Sep 26, 2015
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