Skip to content

Fix bug with context option

Compare
Choose a tag to compare
@MicahParks MicahParks released this 21 Apr 00:46
· 31 commits to master since this release
006482b

The purpose of this pull request is to fix a bug that prevents the context.Context passed in keyfunc.Options from behaving as described. The described behavior was that the background goroutine would be closed when the context was cancelled, however, the context was immediately overwritten with context.Background() causing its value to be ignored.

Thank you to our new contributor @tho!

Related issues:

Related pull requests: