mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 864399 - Save the pref file after each localID. r=fabrice
This commit is contained in:
parent
892d95e4da
commit
c7b278bd67
@ -1969,6 +1969,7 @@ this.DOMApplicationRegistry = {
|
||||
_nextLocalId: function() {
|
||||
let id = Services.prefs.getIntPref("dom.mozApps.maxLocalId") + 1;
|
||||
Services.prefs.setIntPref("dom.mozApps.maxLocalId", id);
|
||||
Services.prefs.savePrefFile(null);
|
||||
return id;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user