sound
Build and Publish / Metadata (push) Successful in 2s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 26s

This commit is contained in:
mats committed 2026-09-22 16:07:11 +02:00
1 parent 5f8b0e60d4
commit f3c735b808
1 file changed
+3
+3
View File
@@ -254,6 +254,7 @@ async function joinVoice(room) {
await openSignaling(room);
S.room = room;
S.connecting = false;
playRetroCue('join');
renderAll();
}
@@ -281,6 +282,8 @@ async function fetchRooms() {
function leaveVoice(reason) {
if (!S.room && !S.ws) return;
const wasConnected = Boolean(S.room);
if (wasConnected) playRetroCue('leave');
if (S.sharing) stopScreenShare(undefined, true);
for (const peer of S.peers.values()) destroyPeer(peer);
S.peers.clear();