dont give a ring to each asset request, just one to rule them all, i mean
thread not ringavinationmerge
parent
6e015125c5
commit
f35f90bd72
|
@ -328,17 +328,24 @@ namespace OpenSim.Services.Connectors
|
||||||
m_AssetHandlers.Remove(id);
|
m_AssetHandlers.Remove(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (AssetRetrievedEx h in handlers)
|
Util.FireAndForget(x =>
|
||||||
{
|
|
||||||
Util.FireAndForget(x =>
|
|
||||||
{
|
{
|
||||||
try { h.Invoke(a); }
|
foreach (AssetRetrievedEx h in handlers)
|
||||||
catch { }
|
{
|
||||||
});
|
// Util.FireAndForget(x =>
|
||||||
}
|
// {
|
||||||
|
try { h.Invoke(a); }
|
||||||
|
catch { }
|
||||||
|
// });
|
||||||
|
}
|
||||||
|
|
||||||
if (handlers != null)
|
if (handlers != null)
|
||||||
handlers.Clear();
|
handlers.Clear();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// if (handlers != null)
|
||||||
|
// handlers.Clear();
|
||||||
|
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue