Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Clean windowState before restoring
Browse files Browse the repository at this point in the history
Fixes #9300
Possible fix for #8747 (cc: @luixxiul)

Auditors: @bbondy
  • Loading branch information
bsclifton committed Jun 8, 2017
1 parent a6c3483 commit 28a2f72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 28a2f72

Please sign in to comment.