add:  gSearchSession.unregisterListener(gDataSourceSearchListener); gSearchSession.unregisterListener(gSearchNotificationListener);  
context: function searchOnUnload(){    // 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/26f5b6dc5308f76fde9c89e469f828b2aaa52b26/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js