add: PlacesStarButton.uninit(); 
context: function BrowserShutdown(){  try {    TextZoom.destroy();    ContentPrefSink.destroy();  }  catch(ex) {    Components.utils.reportError(ex);  }  var os = Components.classes["@mozilla.org/observer-service;1"]    .getService(Components.interfaces.nsIObserverService);  os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history");  os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked");  try {    gBrowser.removeProgressListener(window.XULBrowserWindow);  } catch (ex) {  }  PlacesUtils.bookmarks.removeObserver(gBookmarksObserver);  try {    gPrefService.removeObserver(gAutoHideTabbarPrefListener.domain,                                gAutoHideTabbarPrefListener);    gPrefService.removeObserver(gHomeButton.prefDomain, gHomeButton);  } catch (ex) {    Components.utils.reportError(ex);  }  if (gSanitizeListener)    gSanitizeListener.shutdown();  BrowserOffline.uninit();  // Store current window position/size into the window attributes   // for persistence.  var win = document.documentElement;  win.setAttribute("x", window.screenX);  win.setAttribute("y", window.screenY);  win.setAttribute("height", window.outerHeight);  win.setAttribute("width", window.outerWidth);  var windowManager = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService();  var windowManagerInterface = windowManager.QueryInterface(Components.interfaces.nsIWindowMediator);  var enumerator = windowManagerInterface.getEnumerator(null);  enumerator.getNext();  if (!enumerator.hasMoreElements()) {    document.persist("sidebar-box", "sidebarcommand");    document.persist("sidebar-box", "width");    document.persist("sidebar-box", "src");    document.persist("sidebar-title", "value");  }  window.XULBrowserWindow.destroy();  window.XULBrowserWindow = null;  window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)        .getInterface(Components.interfaces.nsIWebNavigation)        .QueryInterface(Components.interfaces.nsIDocShellTreeItem).treeOwner        .QueryInterface(Components.interfaces.nsIInterfaceRequestor)        .getInterface(Components.interfaces.nsIXULWindow)        .XULBrowserWindow = null;  window.QueryInterface(Ci.nsIDOMChromeWindow).browserDOMWindow = null;  // Close the app core.  if (appCore)    appCore.close();}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/3f99cbd6627e9c30000eab2c993b0006d8730dc8/browser.js/clean/browser/base/content/browser.js