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);
|
||||
}
|
||||
|
||||
foreach (AssetRetrievedEx h in handlers)
|
||||
{
|
||||
Util.FireAndForget(x =>
|
||||
Util.FireAndForget(x =>
|
||||
{
|
||||
try { h.Invoke(a); }
|
||||
catch { }
|
||||
});
|
||||
}
|
||||
foreach (AssetRetrievedEx h in handlers)
|
||||
{
|
||||
// Util.FireAndForget(x =>
|
||||
// {
|
||||
try { h.Invoke(a); }
|
||||
catch { }
|
||||
// });
|
||||
}
|
||||
|
||||
if (handlers != null)
|
||||
handlers.Clear();
|
||||
if (handlers != null)
|
||||
handlers.Clear();
|
||||
|
||||
});
|
||||
|
||||
// if (handlers != null)
|
||||
// handlers.Clear();
|
||||
|
||||
success = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue