* Added lock to Contains to avoid enumeration exceptions
							parent
							
								
									3f78e55ef4
								
							
						
					
					
						commit
						b95efbb689
					
				| 
						 | 
				
			
			@ -59,7 +59,10 @@ namespace OpenSim.Framework
 | 
			
		|||
 | 
			
		||||
        public bool Contains(T item)
 | 
			
		||||
        {
 | 
			
		||||
            return m_queue.Contains(item);
 | 
			
		||||
            lock (m_queueSync)
 | 
			
		||||
            {
 | 
			
		||||
                return m_queue.Contains(item);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue