dont give a ring to each asset request, just one to rule them all, i mean

thread not ring
avinationmerge
UbitUmarov 2014-09-18 19:40:59 +01:00
parent 6e015125c5
commit f35f90bd72
1 changed files with 16 additions and 9 deletions

View File

@ -328,18 +328,25 @@ namespace OpenSim.Services.Connectors
m_AssetHandlers.Remove(id);
}
foreach (AssetRetrievedEx h in handlers)
{
Util.FireAndForget(x =>
{
foreach (AssetRetrievedEx h in handlers)
{
// Util.FireAndForget(x =>
// {
try { h.Invoke(a); }
catch { }
});
// });
}
if (handlers != null)
handlers.Clear();
});
// if (handlers != null)
// handlers.Clear();
success = true;
}
}