add: dump("we get here\n"); var mailSession = Components.classes[mailSessionProgID].getService(); if(mailSession) { mailSession = mailSession.QueryInterface(Components.interfaces.nsIMsgMailSession); if(mailSession) { mailSession.RemoveFolderListener(folderListener); } }  
context: function OnMailWindowUnload(){	mailSession.RemoveMsgWindow(msgWindow);	messenger.SetWindow(null, null);	var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgDS = messageDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgDS = accountManagerDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;  	msgWindow.closeWindow();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f8f0cb1c520d9c247917377952dfe8b507af2aff/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js