aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/code/prefs.js
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-20 13:04:15 +0000
committerEinar Egilsson2009-10-20 13:04:15 +0000
commit1059664ff4a3c92b2c6a4720f695e158aed215e4 (patch)
treea8313f1f52d9a10d13bd5e2a27e7a563ef3e8e3a /chrome/content/code/prefs.js
parent85e1989a00957f4f08ea6720e0b884b278f24714 (diff)
Changed to use actual interfaces! Seems to work, tiny bug left in unit tests.
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@285 119bf307-c92d-0410-89bd-8f53e6181181
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);
},