Disable automatic safe mode for now
Until we can figure out why some shutdowns are counting as crashes https://github.com/zotero/zotero/issues/3196
This commit is contained in:
parent
25d9524c6a
commit
1cc5c1ce2e
1 changed files with 5 additions and 5 deletions
|
@ -246,11 +246,11 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
// Browser
|
||||
Zotero.browser = "g";
|
||||
|
||||
if (this.isWin) {
|
||||
let branch = Services.prefs.getBranch("toolkit.startup.");
|
||||
if (branch.getIntPref('recent_crashes', 0) > 2) {
|
||||
branch.clearUserPref('recent_crashes');
|
||||
}
|
||||
// TEMP: Disable automatic safe mode until we can figure out why some shutdowns are
|
||||
// counting as crashes
|
||||
var branch = Services.prefs.getBranch("toolkit.startup.");
|
||||
if (branch.getIntPref('recent_crashes', 0) > 2) {
|
||||
branch.clearUserPref('recent_crashes');
|
||||
}
|
||||
|
||||
Zotero.Intl.init();
|
||||
|
|
Loading…
Add table
Reference in a new issue