First, thx for your blazing fast library updates
Reading the reference page, you repeat :
"
If you stored any emitter handles using GetEmitter(), you must set these references to the emitters to βnilβ before you delete the emitters. Otherwise, they cannot be garbage collected and will remain in memory! So be careful when storing emitter handles on your own!
"
Code talking :[code]
local Emitter = Particles.GetEmitter(βE1β)
Emitter.rotation = Emitter.rotation+1
β the clean up
Emitter = nil
Particles.CleanUp()
[/code]Admitting I donβt use local Emitter, is setting to βnilβ necessary ?
[code]Particles.GetEmitter(βE1β).rotation = Particles.GetEmitter(βE1β).rotation +1
β the clean up
Particles.CleanUp() --only
[/code]Is that correct ?
[import]uid: 9328 topic_id: 6512 reply_id: 306512[/import]