memory leak fixes

This commit is contained in:
Dave Horton committed 2022-02-08 20:33:16 -05:00
1 parent cfe9397502
commit de83f735ea
5 files changed
+37 -31

No files matched your search

+1
View File
@@ -215,6 +215,7 @@ class SingleDialer extends Emitter {
if (this.confirmHook) this._executeApp(this.confirmHook);
else this.emit('accept');
} catch (err) {
this.inviteInProgress = null;
const status = {callStatus: CallStatus.Failed};
if (err instanceof SipError) {
status.sipStatus = err.status;