Skip to content

Commit

Permalink
Update restart triggers crash recovery. Fixes #3838
Browse files Browse the repository at this point in the history
(integrated from the KomodoIDE master branch change db0782287 by Carey Hoffman <cgchoffman@gmail.com>)

Komodo/KomodoIDE@db0782287
  • Loading branch information
th3coop committed Feb 10, 2020
1 parent 6e38234 commit 9e6c3e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chrome/komodo/content/komodo.p.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ this._onDOMWindowClose = function(event) {
saveWorkspaceIfNeeded("window-close");
}
ko.main.runWillCloseHandlers();
ko.prefs.setBooleanPref("komodo_normal_shutdown", true);

window.removeEventListener("DOMWindowClose", ko.main._onDOMWindowClose, true);
_log.debug("<< ko.main._onDOMWindowClose");
}
Expand Down

0 comments on commit 9e6c3e5

Please sign in to comment.