aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/code/prefs.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/content/code/prefs.js')
-rw-r--r--chrome/content/code/prefs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/content/code/prefs.js b/chrome/content/code/prefs.js
index c87eb27..4118bc5 100644
--- a/chrome/content/code/prefs.js
+++ b/chrome/content/code/prefs.js
@@ -49,7 +49,8 @@ Prefs.prototype = {
this.service.addObserver('extensions.redirector', this, false);
},
- destroy : function() {
+ dispose : function() {
+ this._listeners = null;
this.service.removeObserver('extensions.redirector', this);
},