forked from TrueCloudLab/distribution
13f8189f2a
context.App.repoRemover is single registry instance stored throughout app run. It was wrapped in another remover when processing each request. This remover happened to be remover got from previous request. This way every remover created was stored in infinite linked list causing memory leak. Fixing it by storing the wrapped remover inside the request context which will get gced when request context is gced. This was introduced in PR #2648. Signed-off-by: Manish Tomar <manish.tomar@docker.com> |
||
---|---|---|
.. | ||
api_test.go | ||
app.go | ||
app_test.go | ||
basicauth.go | ||
basicauth_prego14.go | ||
blob.go | ||
blobupload.go | ||
catalog.go | ||
context.go | ||
health_test.go | ||
helpers.go | ||
hmac.go | ||
hmac_test.go | ||
hooks.go | ||
mail.go | ||
manifests.go | ||
tags.go |