Hi,
I'm using TweenMax with PIXI.js to tween positions of objects... I have lots of objects being spawned, tweened and then destroyed. When I just create an object and then destroy it and make it null, it gets removed from memory (using Chrome heap snapshot to check). If I create the object then tween it, then call kill() on the tween and destroy my object, it the object hangs about in memory.
Its seems that TweenMax is keeping reference to the target I set the tween on, even after I have called kill() on the tween, in some kind of lookup dictionary in TweenMax. So I'm building up a lot of objects in memory that I can't clear, which is a big problem. Is there a way to flush this cache of objects in TweenMax when I kill a tween?
Thanks
Rich