trying to narrow down leaks

git-svn-id: svn://10.0.0.236/trunk@169897 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ben%bengoodger.com 2005-02-26 18:32:19 +00:00
parent 084327b80b
commit 6455fccb96

View File

@ -785,9 +785,9 @@ function delayedStartup()
toolbox.customizeDone = BrowserToolboxCustomizeDone;
// Set up Sanitize Item
gSanitizeListener = new SanitizeListener();
// gSanitizeListener = new SanitizeListener();
var pbi = gPrefService.QueryInterface(Components.interfaces.nsIPrefBranch2);
var pbi = gPrefService.QueryInterface(Components.interfaces.nsIPrefBranchInternal);
// Enable/Disable Form Fill
gFormFillPrefListener = new FormFillPrefListener();
@ -909,7 +909,7 @@ function Shutdown()
}
try {
var pbi = gPrefService.QueryInterface(Components.interfaces.nsIPrefBranch2);
var pbi = gPrefService.QueryInterface(Components.interfaces.nsIPrefBranchInternal);
pbi.removeObserver(gFormFillPrefListener.domain, gFormFillPrefListener);
pbi.removeObserver(gURLBarAutoFillPrefListener.domain, gURLBarAutoFillPrefListener);
pbi.removeObserver(gAutoHideTabbarPrefListener.domain, gAutoHideTabbarPrefListener);