mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
dont give a ring to each asset request, just one to rule them all, i mean
thread not ring
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user