Bug 780123 - bustage fix for xpcshell test shutdown; r=me

This commit is contained in:
Tim Taubert 2012-09-19 17:33:55 +02:00
parent 69143e3909
commit 62d55e4df9

View File

@ -67,8 +67,10 @@ let Preferences = {
},
uninit: function Preferences_uninit() {
this._branch.removeObserver("", this);
this._branch = null;
if (this._branch) {
this._branch.removeObserver("", this);
this._branch = null;
}
},
observe: function Preferences_observe(aSubject, aTopic, aData) {