add: gMailSession.RemoveFolderListener(gSearchSessionFolderListener); gSearchSession.removeFolderListener(gFolderListener);  gSearchView.close(); gSearchView = null;  
context: function searchOnUnload(){    // unregister listeners    gSearchSession.unregisterListener(gViewSearchListener);    gSearchSession.unregisterListener(gSearchNotificationListener);    // release this early because msgWindow holds a weak reference    msgWindow.rootDocShell = null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a61462049b334d8b4055ec16e5068b192dec36e8/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js