rem: var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource); msgDS.window = null; 
add: var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource); msgDS.window = null; 
context: function OnMailWindowUnload(){	var mailSession = Components.classes[mailSessionContractID].getService();	if(mailSession)	{		mailSession = mailSession.QueryInterface(Components.interfaces.nsIMsgMailSession);		if(mailSession)		{			mailSession.RemoveFolderListener(folderListener);		}	}	mailSession.RemoveMsgWindow(msgWindow);	messenger.SetWindow(null, null);	var msgDS = folderDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgDS = accountManagerDataSource.QueryInterface(Components.interfaces.nsIMsgRDFDataSource);	msgDS.window = null;	msgWindow.closeWindow();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js