This commit is contained in:
Dave Horton
2020-01-17 09:25:41 -05:00
parent 0d4c1d9d8c
commit c1049943e1
5 changed files with 31 additions and 84 deletions

View File

@@ -38,6 +38,7 @@ class TaskSay extends Task {
}
kill() {
super.kill();
if (this.ep.connected && !this.sayComplete) {
this.logger.debug('TaskSay:kill - killing audio');
this.ep.api('uuid_break', this.ep.uuid).catch((err) => this.logger.info(err, 'Error killing audio'));