minor fix for gather

This commit is contained in:
Dave Horton
2021-09-29 18:15:52 -04:00
parent a3d3878218
commit a779ead79f
2 changed files with 3 additions and 1 deletions

View File

@@ -195,10 +195,12 @@ class TaskGather extends Task {
if (this.sayTask && !this.sayTask.killed) {
this.sayTask.removeAllListeners('playDone');
this.sayTask.kill(cs);
this.sayTask = null;
}
if (this.playTask && !this.playTask.killed) {
this.playTask.removeAllListeners('playDone');
this.playTask.kill(cs);
this.playTask = null;
}
}