liaocheng / away3d-particles-system

A particle system based on Stage3D for Away3D engine
68 stars 16 forks source link

No dispose functions, unable to destroy particle system #16

Open Lyve1981 opened 11 years ago

Lyve1981 commented 11 years ago

There is no dispose function for the EffectGroup or any other of the classes.

The result is, that when I spawn a particle system multiple times and then remove it, after some time I get a flash exception "Vertex Buffer Resource Limit exceeded".

liaocheng commented 11 years ago

It should be auto recycled by the GC system. And it work well in my program. Could you give me a simple example to reproduce it?