I have some particles in my game that are generated using a PDParticleSystem and since day one of this project they have been causing issues due to me not being able to properly remove them. As of my latest build, I thought I was removing them properly but after letting my game run for a 12 hour stress test the Hi-res stats seemed to come to a peak. However once I started playing it again it started to climb as more particles appeared.. so I have to assume the particles are still not being removed properly.
This is how I create the particles:
feathers = new PDParticleSystem(assets.getXml("particlefeather"),assets.getTexture("feather")); starling.core.Starling.juggler.add(feathers);
This is what I am doing to remove the particle:
feathers.stop(true); this.removeChild(feathers, true); starling.core.Starling.juggler.remove(feathers);
Thanks for any input guys!