We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use Uber's goleak to run the test function TestWriteAndGetOnCache() in https://github.com/allegro/bigcache/blob/master/bigcache_test.go, I got the following output information. I was wondering if it is a bug ?
You can reproduce it like this:
The text was updated successfully, but these errors were encountered:
Nice catch. Probably we should call defer cache.Close() after cache is created to prevent such leak.
defer cache.Close()
bigcache/bigcache.go
Lines 122 to 125 in 982ec3b
Sorry, something went wrong.
No branches or pull requests
When I use Uber's goleak to run the test function TestWriteAndGetOnCache() in https://github.com/allegro/bigcache/blob/master/bigcache_test.go, I got the following output information. I was wondering if it is a bug ?
You can reproduce it like this:
The text was updated successfully, but these errors were encountered: