no need to reverse itter over here

10.3.x-maintenance
cTn 2014-03-07 18:37:21 +01:00
parent 3e969fe08a
commit 0607ccbff4
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@ var MSP = {
packet_error: 0,
callbacks_cleanup: function() {
for (var i = (this.callbacks.length - 1); i >= 0; i--) {
// kill timer
for (var i = 0; i < this.callbacks.length; i++) {
clearInterval(this.callbacks[i].timer);
}