revised x3 for 0.10.4-beta.0 #1582 ( with reloadIgnoringCache to avoid blank window bug )

This commit is contained in:
Jalileh 2024-12-20 20:20:00 +01:00
parent e87e98fa89
commit e87d166173

View File

@ -709,7 +709,7 @@ ipcMain.on("delete-workspace", (event, workspaceId) => {
await ww.switchWorkspace(prevNextWorkspace.workspaceid);
await WorkspaceService.DeleteWorkspace(workspaceId);
ww.activeTabView.webContents.reloadIgnoringCache(); // the blank window bug from 0.10.1 OCCASIONALLY occurs if this is not here, ( issue #1567 )
} else {
await WorkspaceService.DeleteWorkspace(workspaceId);
console.log("delete-workspace done", workspaceId, ww?.waveWindowId);