mirror of https://github.com/calzoneman/sync.git
Fix exception
This commit is contained in:
parent
89de33031c
commit
79bb6a96cd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue