bugfix: broken enqueue waitHook (#113)

This commit is contained in:
Dave Horton
2022-06-11 10:38:35 -04:00
parent f51211b407
commit 5be5b6d05d
2 changed files with 4 additions and 2 deletions

View File

@@ -551,7 +551,8 @@ class Conference extends Task {
accountInfo: cs.accountInfo,
memberId: this.memberId,
confName: this.confName,
tasks
tasks,
rootSpan: cs.rootSpan
});
await this._playSession.exec();
this._playSession = null;

View File

@@ -349,7 +349,8 @@ class TaskEnqueue extends Task {
ep: cs.ep,
callInfo: cs.callInfo,
accountInfo: cs.accountInfo,
tasks: tasksToRun
tasks: tasksToRun,
rootSpan: cs.rootSpan
});
await this._playSession.exec();
this._playSession = null;