mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Experimental fix
This commit is contained in:
parent
30433f5ba4
commit
051cc8d584
@ -437,9 +437,10 @@ export class WindowHandler {
|
|||||||
windowExists(this.mainWindow)
|
windowExists(this.mainWindow)
|
||||||
) {
|
) {
|
||||||
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
||||||
this.mainWebContents.loadURL(this.url, { userAgent });
|
await this.mainWebContents.loadURL(this.url, { userAgent });
|
||||||
|
await this.mainWindow.loadURL('about:blank', { userAgent });
|
||||||
} else {
|
} else {
|
||||||
this.mainWindow.loadURL(this.url, { userAgent });
|
await this.mainWindow.loadURL(this.url, { userAgent });
|
||||||
this.mainWebContents = this.mainWindow.webContents;
|
this.mainWebContents = this.mainWindow.webContents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user