This repository was archived by the owner on Apr 12, 2024. It is now read-only.
TRANSCLUDE MEMORY LEAK: Memory leak with transclusion, ng:repeat and jQuery #9095
Closed
Description
Hi there,
I believe I have found a memory leak in a very specific use case it seems as it only happens when transcluding ng:repeat generated elements and ONLY if jQuery is loaded.
Here is a use case: http://jsbin.com/nirubi/11/edit?html,js,output
You can try everything first with only jQlite. Follow the number of active scopes and active watches.
Then uncomment the jQuery script tag and try again, you'll see that the number of active scopes and watches creeps up in the case of ng:repeat and ONLY when jQuery is being loaded.
Let me know if I'm doing something wrong or if it's a genuine bug.
Thanks!