do not try to reconnect on connecting

This commit is contained in:
Tommy D. Rossi
2025-11-25 10:39:17 +01:00
parent 3f76e5764c
commit 632835b5df
+5
View File
@@ -750,6 +750,11 @@ async function onActionClicked(tab: chrome.tabs.Tab): Promise<void> {
return
}
if (tabInfo?.state === 'connecting') {
logger.debug('Tab is already connecting, ignoring click')
return
}
if (tabInfo?.state === 'connected') {
await disconnectTab(tab.id)
} else {