Added a check to LLClientView.RegisterInterface<T>(T iface), so that it can't try to add duplicate interfaces and cause a exception.
parent
869c64f955
commit
89006da793
|
@ -8466,7 +8466,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
lock (m_clientInterfaces)
|
lock (m_clientInterfaces)
|
||||||
{
|
{
|
||||||
m_clientInterfaces.Add(typeof(T), iface);
|
if (!m_clientInterfaces.ContainsKey(typeof(T)))
|
||||||
|
{
|
||||||
|
m_clientInterfaces.Add(typeof(T), iface);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue