fix: address claude review action items

This commit is contained in:
2026-02-26 23:27:25 -08:00
parent 151752b17a
commit 771ea5777f
4 changed files with 10 additions and 11 deletions

View File

@@ -65,12 +65,13 @@ export function createOverlayModalRuntimeService(
return null;
};
const isWindowReadyForIpc = (window: BrowserWindow): boolean => {
if (window.webContents.isLoading()) {
return false;
}
return window.webContents.getURL() !== '' && window.webContents.getURL() !== 'about:blank';
};
const isWindowReadyForIpc = (window: BrowserWindow): boolean => {
if (window.webContents.isLoading()) {
return false;
}
const currentURL = window.webContents.getURL();
return currentURL !== '' && currentURL !== 'about:blank';
};
const sendOrQueueForWindow = (
window: BrowserWindow,