Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix memory leak introduced in PR distribution#2648
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 distribution#2648. Signed-off-by: Manish Tomar <[email protected]>
- Loading branch information