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 eb9c0387c6
commit e092c900f4

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) {