X-Git-Url: https://git.r.bdr.sh/rbdr/junction/blobdiff_plain/bab26a4da2a2a0fdc88ec3af56909b12d822113a..65b2c3feb11adffaccf2a5c49f60f738c146d910:/extension/peers.js?ds=inline diff --git a/extension/peers.js b/extension/peers.js index fced108..5ba5c48 100644 --- a/extension/peers.js +++ b/extension/peers.js @@ -98,6 +98,9 @@ export function countPeers() { } export function resetPeers() { + for (const connection of Object.values(internals.peers)) { + connection.close(); + } internals.peers = {}; document .querySelectorAll(".junction-call-audio")