fix enqueue waithook on ws hold the session (#572)

* fix enqueue waithook on ws hold the session

* wip
This commit is contained in:
Hoan Luu Huu
2023-12-19 21:42:20 +07:00
committed by GitHub
parent 47fbc1a4a4
commit 83c1c07eb0
2 changed files with 3 additions and 1 deletions

View File

@@ -941,7 +941,8 @@ class CallSession extends Emitter {
if (0 === this.tasks.length &&
this.requestor instanceof WsRequestor &&
!this.requestor.closedGracefully &&
!this.callGone
!this.callGone &&
!this.disableWaitCommand
) {
try {
await this._awaitCommandsOrHangup();