onDispose not called (ParticleSystem)

Hello!

My code starting at line 54. The observer is called, but the callback is not

The onDispose callback does not exist on the GPU particle system. You must use the observable for this one (note that onDispose is somewhat deprecated, internally it is using the observable).

2 Likes