diff --git a/app/index.js b/app/index.js index bc07a738668..7e870b55f13 100644 --- a/app/index.js +++ b/app/index.js @@ -311,6 +311,7 @@ app.on('ready', () => { process.on(messages.UNDO_CLOSED_WINDOW, () => { if (lastWindowState) { + SessionStore.cleanPerWindowData(lastWindowState) appActions.newWindow(undefined, undefined, lastWindowState) lastWindowState = undefined }