mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 13:39:58 +01:00
Fix error about webContents on log out (#627)
This commit is contained in:
parent
3d215dc777
commit
005ab48f18
@ -192,7 +192,7 @@ ipcMain.on("ipcCall", async function (_ev: IpcMainEvent, payload) {
|
|||||||
global.mainWindow.webContents.session.flushStorageData();
|
global.mainWindow.webContents.session.flushStorageData();
|
||||||
await global.mainWindow.webContents.session.clearStorageData();
|
await global.mainWindow.webContents.session.clearStorageData();
|
||||||
relaunchApp();
|
relaunchApp();
|
||||||
break;
|
return; // the app is about to stop, we don't need to reply to the IPC
|
||||||
|
|
||||||
case "breadcrumbs": {
|
case "breadcrumbs": {
|
||||||
if (process.platform === "darwin") {
|
if (process.platform === "darwin") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user