Fix exception

This commit is contained in:
Calvin Montgomery 2014-07-14 21:13:45 -07:00
parent 89de33031c
commit 79bb6a96cd
1 changed files with 4 additions and 1 deletions

View File

@ -1034,7 +1034,10 @@ PlaylistModule.prototype._leadLoop = function() {
}
if (!this.channel || this.channel.dead) {
this.die();
if (this._leadInterval) {
clearInterval(this._leadInterval);
this._leadInterval = false;
}
return;
}