Fix error about webContents on log out (#627)

This commit is contained in:
Michael Telatynski
2023-04-14 09:07:16 +01:00
committed by GitHub
parent 3d215dc777
commit 005ab48f18

View File

@@ -192,7 +192,7 @@ ipcMain.on("ipcCall", async function (_ev: IpcMainEvent, payload) {
global.mainWindow.webContents.session.flushStorageData();
await global.mainWindow.webContents.session.clearStorageData();
relaunchApp();
break;
return; // the app is about to stop, we don't need to reply to the IPC
case "breadcrumbs": {
if (process.platform === "darwin") {