aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJohn Hurliman2009-09-01 12:07:48 -0700
committerDiva Canto2009-09-03 12:36:51 -0700
commit33133e23b12781e71b499fcaa41bcad6374c6656 (patch)
treebc94accc274e9b319b9cca9f5194bc9ddcbff471 /OpenSim/Region/Framework
parentAdded Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke() (diff)
downloadopensim-SC_OLD-33133e23b12781e71b499fcaa41bcad6374c6656.zip
opensim-SC_OLD-33133e23b12781e71b499fcaa41bcad6374c6656.tar.gz
opensim-SC_OLD-33133e23b12781e71b499fcaa41bcad6374c6656.tar.bz2
opensim-SC_OLD-33133e23b12781e71b499fcaa41bcad6374c6656.tar.xz
Fixes seven leaky .BeginInvoke() calls
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index 55b100b..fddba86 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -457,6 +457,8 @@ namespace OpenSim.Region.Framework.Scenes
457 457
458 void SendInventoryComplete(IAsyncResult iar) 458 void SendInventoryComplete(IAsyncResult iar)
459 { 459 {
460 SendInventoryDelegate d = (SendInventoryDelegate)iar.AsyncState;
461 d.EndInvoke(iar);
460 } 462 }
461 463
462 /// <summary> 464 /// <summary>
@@ -622,6 +624,8 @@ namespace OpenSim.Region.Framework.Scenes
622 624
623 private void PurgeFolderCompleted(IAsyncResult iar) 625 private void PurgeFolderCompleted(IAsyncResult iar)
624 { 626 {
627 PurgeFolderDelegate d = (PurgeFolderDelegate)iar.AsyncState;
628 d.EndInvoke(iar);
625 } 629 }
626 } 630 }
627} 631}