diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 775a4c2..df61dde 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -222,8 +222,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
222 | { | 222 | { |
223 | foreach (ulong handle in regionslst) | 223 | foreach (ulong handle in regionslst) |
224 | { | 224 | { |
225 | ulong handleCopy = handle; | ||
225 | SendCloseChildAgentDelegate d = SendCloseChildAgentAsync; | 226 | SendCloseChildAgentDelegate d = SendCloseChildAgentAsync; |
226 | d.BeginInvoke(agentID, handle, | 227 | d.BeginInvoke(agentID, handleCopy, |
227 | SendCloseChildAgentCompleted, | 228 | SendCloseChildAgentCompleted, |
228 | d); | 229 | d); |
229 | } | 230 | } |