github MicahParks/keyfunc v2.0.1
Fix bug with context option

latest releases: v3.8.0, v3.7.0, v3.6.2...
2 years ago

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:

Don't miss a new keyfunc release

NewReleases is sending notifications on new releases.