Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Memory Leaking with tooltip #484

Closed
jgrund opened this issue May 30, 2013 · 2 comments
Closed

Memory Leaking with tooltip #484

jgrund opened this issue May 30, 2013 · 2 comments

Comments

@jgrund
Copy link

jgrund commented May 30, 2013

Consider the following code:

http://embed.plnkr.co/PesubddiiiPCG0Blf0W0/preview

It appears that angular.element.cache size grows as some references are not deleted.

This has been tested on chrome 27.0.1453.93 and firefox 21.0

If the tooltip directive is removed from the span the cache size stays in check.

Still investigating if this is an issue with tooltip or angular.

@jgrund
Copy link
Author

jgrund commented May 30, 2013

So, traced this to remove not being called on tooltip when scopes are destroyed. Will open PR shortly.

@pkozlowski-opensource
Copy link
Member

@jgrund awesome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants