Bug 381239. Null out members of PrefHandler to break reference cycles. r=dietrich

This commit is contained in:
sayrer@gmail.com 2007-05-19 20:33:04 -07:00
Родитель a379fa8851
Коммит 0867e646a3
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -63,6 +63,10 @@ PrefHandler.prototype = {
*/
destroy: function PC_PH_destroy() {
this._pb.removeObserver(this._pref, this);
this._pref = null;
this._pb = null;
this._defaultValue = null;
this._serializable = null;
},
/**