Fix possible playlist bug

This commit is contained in:
calzoneman 2013-07-14 17:59:40 -04:00
parent dad89c823c
commit e5af4051f6
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ Playlist.prototype.die = function () {
clearInterval(this._leadInterval);
this._leadInterval = false;
}
if(this._qaInterval) {
clearInterval(this._qaInterval);
this._qaInterval = false;
}
for(var key in this)
delete this[key];
}