fix: only skip disconnect for connecting tabs, not all non-connected
This commit is contained in:
@@ -999,8 +999,8 @@ chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
|
||||
}
|
||||
} else if (tabs.has(tabId)) {
|
||||
const tabInfo = tabs.get(tabId)
|
||||
if (tabInfo?.state !== 'connected') {
|
||||
logger.debug('Tab removed from group while not connected, ignoring:', tabId)
|
||||
if (tabInfo?.state === 'connecting') {
|
||||
logger.debug('Tab removed from group while connecting, ignoring:', tabId)
|
||||
return
|
||||
}
|
||||
logger.debug('Tab manually removed from playwriter group:', tabId)
|
||||
|
||||
Reference in New Issue
Block a user