generativefm / generative.fm

A platform for playing generative music in the browser.
https://generative.fm
MIT License
1.58k stars 86 forks source link

Lots of Memory Leaks #7

Closed alexbainter closed 5 years ago

alexbainter commented 5 years ago

Basically zero attention has been payed to properly disposing of resources that are no longer in use. Almost every node has a dispose method which ought to be called in situations when it will never be used again. Pieces likely need to return a function which disposes of everything properly to be called when stopping the piece.

This is possibly contributing to sluggish behavior after using the site for a while.