squashed bug

This commit is contained in:
2026-01-18 21:08:19 -05:00
parent 23d26d2913
commit 36545fae5a

View File

@@ -46,6 +46,7 @@ function openKeepalive(tabId) {
try {
keepalivePort = chrome.tabs.connect(tabId, { name: "sitecompanion-keepalive" });
keepalivePort.onDisconnect.addListener(() => {
void chrome.runtime.lastError;
keepalivePort = null;
});
} catch {