Closed jshthornton closed 10 years ago
The destroy function uses instruments = [] rather than instruments.length = 0 which causes massive memory leaks and results in jarring audio.
destroy
instruments = []
instruments.length = 0
See: http://davidwalsh.name/empty-array
Thanks, this has been fixed :).
The
destroy
function usesinstruments = []
rather thaninstruments.length = 0
which causes massive memory leaks and results in jarring audio.See: http://davidwalsh.name/empty-array