drawcall / Proton

Javascript particle animation library
https://drawcall.github.io/Proton/
MIT License
2.41k stars 275 forks source link

Fixed an API misconnect ('release, not destroy') #26

Closed inductible-dev closed 3 years ago

inductible-dev commented 8 years ago

Simple issue, simple fix... Pool.destroy calls 'release' on its Pool object; 'destroy' was implemented on Pool, but not 'release'. 'Release' nomenclature sounds more appropriate (and I don't see any knock on issues), so I've changed the function name here.

drawcall commented 8 years ago

It is a good idea , but I have to think about where I used it?