We've got a single page app here using TweenMax. Taking a look at the heap profile I see in my simple example that CSSPlugin is holding a reference to an html element that was removed from the dom. Could someone point me to documentation on how to release any held elements w/o breaking any follow up usages of the same TweenMax instance?
See the Pen XppvwE by jchristof (@jchristof) on CodePen
Ah yes, I think I know what's happening - for performance reasons, CSSPlugin just stores ONE variable that points to the most-recent element whose CSS-related values were animated. It's replaced every time. It does **not** store a reference to every element tweened (ever). That'd explain the behavior you described. In terms of memory management, it would never cause a buildup because it's constantly swapped out. But yes, it does point to a single element (the most recently animated one). If that