rem: msgWindow.closeWindow(); 
add: msgDS = messageDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource); msgDS.window = null;  msgDS = accountManagerDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource); msgDS.window = null;   msgWindow.closeWindow(); 
context: function OnUnloadMessenger(){	dump("\nOnUnload from XUL\nClean up ...\n");	var mailSession = Components.classes[mailSessionProgID].getService();	if(mailSession)	{		mailSession = mailSession.QueryInterface(Components.interfaces.nsIMsgMailSession);		if(mailSession)		{			mailSession.RemoveFolderListener(folderListener);			mailSession.RemoveMsgWindow(msgWindow);			messenger.SetWindow(null, null);		}	}  msgWindow.closeWindow();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0a24489bd21f0996f9fbe7a25a358a85433b516e/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js