fix duplicate attempt to destroy dialog

This commit is contained in:
Dave Horton
2024-11-22 10:46:24 -05:00
parent 916d577b75
commit c6c63e26da

View File

@@ -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 ||