mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 09:34:12 +01:00
Bootstrap cleanup work.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -28,6 +28,10 @@ const Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference
|
||||
this.restore();
|
||||
},
|
||||
|
||||
cleanup: function cleanup() {
|
||||
this._branch.removeObserver("", this);
|
||||
},
|
||||
|
||||
observe: {
|
||||
"nsPref:changed": function (subject, data) {
|
||||
let observers = this._observers[data];
|
||||
|
||||
Reference in New Issue
Block a user