Bug 337168 - Tag leakable object, and also remove the leak.

ChatZilla only.
r=samuel
This commit is contained in:
silver%warwickcompsoc.co.uk 2006-05-13 16:48:41 +00:00
Родитель 9640716746
Коммит 875cab1ad6
2 изменённых файлов: 2 добавлений и 1 удалений

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

@ -84,7 +84,7 @@ function PrefManager (branchName, defaultBundle)
this.prefs = new Object();
this.prefNames = new Array();
this.prefRecords = new Object();
this.observer = { observe: pm_observe };
this.observer = { observe: pm_observe, branch: branchName };
this.observers = new Array();
this.prefBranchInternal =

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

@ -2460,6 +2460,7 @@ function cmdLoad(e)
if ("onPrefChanged" in plugin)
prefManager.addObserver(plugin);
client.prefManager.addObserver(prefManager);
client.prefManagers.push(prefManager);
}
else
{