await hangup here, so log doesn't terminate early
This commit is contained in:
parent
9efe294a79
commit
3edfbd2cf6
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ export class Member {
|
|||
connection.logItem.wrap("disconnect", async log => {
|
||||
disconnectLogItem = log;
|
||||
if (hangup) {
|
||||
connection.peerCall?.hangup(CallErrorCode.UserHangup, log);
|
||||
await connection.peerCall?.hangup(CallErrorCode.UserHangup, log);
|
||||
} else {
|
||||
await connection.peerCall?.close(undefined, log);
|
||||
}
|
||||
|
|
Reference in a new issue