Closed ktrz closed 3 years ago
@this-dot/ng-utils@0.1.2
Chrome and Safari
any
Once image is loaded using useHttpImgSrc pipe it is never revoked.
useHttpImgSrc
When the pipe is destroyed it should revoke all urls that it has created.
This issue is very noticable here: https://stackblitz.com/edit/angular-ivy-t64leu?file=src/app/app.component.html
After hiding and showing the content multiple time the memory usage goes up every time the same content is shown again.
No response
What package and version are you using?
@this-dot/ng-utils@0.1.2
What browser are you using?
Chrome and Safari
What operating system are you using?
any
Actual Behavior
Once image is loaded using
useHttpImgSrc
pipe it is never revoked.Expected Behavior
When the pipe is destroyed it should revoke all urls that it has created.
Reproduction
This issue is very noticable here: https://stackblitz.com/edit/angular-ivy-t64leu?file=src/app/app.component.html
After hiding and showing the content multiple time the memory usage goes up every time the same content is shown again.
Additional Information
No response