Skip to content

Commit 9e6c3e5

Browse files
committed
Update restart triggers crash recovery. Fixes #3838
(integrated from the KomodoIDE master branch change db0782287 by Carey Hoffman <[email protected]>) Komodo/KomodoIDE@db0782287
1 parent 6e38234 commit 9e6c3e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/chrome/komodo/content/komodo.p.js

+2
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ this._onDOMWindowClose = function(event) {
263263
saveWorkspaceIfNeeded("window-close");
264264
}
265265
ko.main.runWillCloseHandlers();
266+
ko.prefs.setBooleanPref("komodo_normal_shutdown", true);
267+
266268
window.removeEventListener("DOMWindowClose", ko.main._onDOMWindowClose, true);
267269
_log.debug("<< ko.main._onDOMWindowClose");
268270
}

0 commit comments

Comments
 (0)