Skip to content

Commit

Permalink
Fix error about webContents on log out (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 14, 2023
1 parent 3d215dc commit 005ab48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 005ab48

Please sign in to comment.