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