particleground
particleground copied to clipboard
Fix performance issues on reinitializing
Pause draw animation loop on destroy and garbage collect particles array of objects
This commit helps the plugin to garbage collect all particle objects on destroy and also pauses the recurring draw animation loop that stayed running after destroy - causing big performance issues when reinitializing the plugin without page refresh