From c6c63e26da41a603c5f5c9395f93fcf62261b4dd Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Fri, 22 Nov 2024 10:46:24 -0500 Subject: [PATCH] fix duplicate attempt to destroy dialog --- lib/call-session.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/call-session.js b/lib/call-session.js index 7613772..0ad7efe 100644 --- a/lib/call-session.js +++ b/lib/call-session.js @@ -686,7 +686,6 @@ class CallSession extends Emitter { if (!IMMUTABLE_HEADERS.includes(h)) headers[h] = bye.headers[h]; }); await other.destroy({headers}); - await other.destroy(); } catch (err) {} const trackingOn = process.env.JAMBONES_TRACK_ACCOUNT_CALLS ||