Skip to content

Commit

Permalink
Reset totalDuration on destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeigarts committed Nov 5, 2013
1 parent da44183 commit a2fe542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/band.js
Expand Up @@ -386,6 +386,7 @@
*/
this.destroy = function() {
this.stop(false);
totalDuration = 0;
instruments = [];
}

Expand Down

0 comments on commit a2fe542

Please sign in to comment.