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