mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
revised x3 for 0.10.4-beta.0 #1582 ( with reloadIgnoringCache to avoid blank window bug )
This commit is contained in:
parent
e87e98fa89
commit
e87d166173
@ -709,7 +709,7 @@ ipcMain.on("delete-workspace", (event, workspaceId) => {
|
|||||||
|
|
||||||
await ww.switchWorkspace(prevNextWorkspace.workspaceid);
|
await ww.switchWorkspace(prevNextWorkspace.workspaceid);
|
||||||
await WorkspaceService.DeleteWorkspace(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 {
|
} else {
|
||||||
await WorkspaceService.DeleteWorkspace(workspaceId);
|
await WorkspaceService.DeleteWorkspace(workspaceId);
|
||||||
console.log("delete-workspace done", workspaceId, ww?.waveWindowId);
|
console.log("delete-workspace done", workspaceId, ww?.waveWindowId);
|
||||||
|
Loading…
Reference in New Issue
Block a user