fix: WEB_JOIN_REQUEST sendResponse leak + popup validation state cleanup

- WEB_JOIN_REQUEST: add missing sendResponse when already in target room
- popup join: reset isProcessingConnection + clear timeout on validation failures
This commit is contained in:
Timo
2026-06-15 14:40:15 +02:00
parent f12bb0a532
commit 3f8cf33dc9
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1571,6 +1571,7 @@ async function handleAsyncMessage(message, sender, sendResponse) {
for (const tab of tabs) {
chrome.tabs.sendMessage(tab.id, { type: 'JOIN_STATUS', success: true, message: 'Already in room' }).catch(() => {});
}
sendResponse({ status: 'already_joined' });
return;
}