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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1ad4817ab06db4081db429ea5368637824eae4d9/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js