bugfix to prev commit

This commit is contained in:
Dave Horton
2022-02-24 14:16:14 -05:00
parent 221cd8bd0d
commit 64b31120a5

View File

@@ -313,6 +313,7 @@ class CallSession extends Emitter {
this.logger.error(err, `Error executing task #${stackNum}:${taskNum}: ${task.name}`); this.logger.error(err, `Error executing task #${stackNum}:${taskNum}: ${task.name}`);
break; break;
} }
}
if (0 === this.tasks.length && this.hasStableDialog && this.requestor instanceof WsRequestor) { if (0 === this.tasks.length && this.hasStableDialog && this.requestor instanceof WsRequestor) {
try { try {
@@ -323,7 +324,6 @@ class CallSession extends Emitter {
} }
} }
} }
}
// all done - cleanup // all done - cleanup
this.logger.info('CallSession:exec all tasks complete'); this.logger.info('CallSession:exec all tasks complete');