ember-polyfills / ember-angle-bracket-invocation-polyfill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container memory leak

bobisjan opened this issue · comments

Hi,

based on the @ryanto's video https://embermap.com/topics/memory-leaks/do-i-have-a-memory-leak (thanks), I've found that this add-on is leaking container in tests in our application.

I've created this branch https://github.com/bobisjan/ember-memory-leaks/tree/ember-angle-bracket-invocation-polyfill, which reproduces the issue.

new app without add-on

screen shot 2018-07-17 at 13 33 56

new app with add-on

screen shot 2018-07-17 at 13 37 58

I'll try to deep dive into this, but I'm not familiar with these internals 🙈.

Thanks for this add-on 🤩.

It looks that the problem is with assignment of _splattributes onto global BUILTIN_MODIFIERS.