removing unused lines

This commit is contained in:
Yotam Mann 2018-05-28 18:01:19 -04:00
parent c93a16dfe2
commit 5b20f572a3

View file

@ -195,8 +195,6 @@ define(["Tone/core/Tone", "Tone/source/Source", "Tone/source/Oscillator",
set : function(count){ set : function(count){
count = Math.max(count, 1); count = Math.max(count, 1);
if (this._oscillators.length !== count){ if (this._oscillators.length !== count){
// var partials = this.partials;
// var type = this.type;
//dispose the previous oscillators //dispose the previous oscillators
this._forEach(function(osc){ this._forEach(function(osc){
osc.dispose(); osc.dispose();