Bug 864399 - Save the pref file after each localID. r=fabrice

This commit is contained in:
Antonio M. Amaya 2013-04-22 22:28:20 +02:00
parent 892d95e4da
commit c7b278bd67

View File

@ -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;
},