Closed eugene-bulkin closed 10 years ago
Cheers for adding this. I have completely changed Band.js too much to have been able to commit this change in.
Thanks @eugene-bulkin . I've since refactored the whole library, but I did use your code here: https://github.com/meenie/band.js/blob/master/src/conductor.js#L183
Fix memory leak caused by setting
instruments = []
rather thaninstruments.length = 0
. This is a bugfix for issue #18.