aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs23
1 files changed, 15 insertions, 8 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
index 9b0ebcf..2c1d946 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
@@ -328,17 +328,24 @@ namespace OpenSim.Services.Connectors
328 m_AssetHandlers.Remove(id); 328 m_AssetHandlers.Remove(id);
329 } 329 }
330 330
331 foreach (AssetRetrievedEx h in handlers) 331 Util.FireAndForget(x =>
332 {
333 Util.FireAndForget(x =>
334 { 332 {
335 try { h.Invoke(a); } 333 foreach (AssetRetrievedEx h in handlers)
336 catch { } 334 {
335 // Util.FireAndForget(x =>
336 // {
337 try { h.Invoke(a); }
338 catch { }
339 // });
340 }
341
342 if (handlers != null)
343 handlers.Clear();
344
337 }); 345 });
338 }
339 346
340 if (handlers != null) 347// if (handlers != null)
341 handlers.Clear(); 348// handlers.Clear();
342 349
343 success = true; 350 success = true;
344 } 351 }