From 9f2fcfb3ec5b46b5e62e4fb0aa23cbfc6ae413f0 Mon Sep 17 00:00:00 2001
From: Tleiades Hax
Date: Sun, 21 Oct 2007 09:32:24 +0000
Subject: Fixed a bug causing a crash during clientlog on in Windows (Thanks to
Rookiie and nebadon for laying all the ground work)
Fixed a bug, preventing standalone mode to report neighboring sims correctly
---
OpenSim/Region/Environment/Scenes/Scene.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Environment/Scenes')
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ab94842..f7e3543 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1084,10 +1084,12 @@ namespace OpenSim.Region.Environment.Scenes
///
private void InformClientOfNeighbourAsync(IClientAPI remoteClient, AgentCircuitData a, ulong regionHandle, IPEndPoint endPoint)
{
+ MainLog.Instance.Notice("INTERGRID", "Starting to inform client about neighbours");
bool regionAccepted = commsManager.InterRegion.InformRegionOfChildAgent(regionHandle, a);
if (regionAccepted)
remoteClient.InformClientOfNeighbour(regionHandle, endPoint);
+ MainLog.Instance.Notice("INTERGRID", "Completed inform client about neighbours");
}
///
@@ -1109,7 +1111,7 @@ namespace OpenSim.Region.Environment.Scenes
InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync;
d.BeginInvoke(remoteClient, agent, neighbours[i].RegionHandle, neighbours[i].ExternalEndPoint,
InformClientOfNeighbourCompleted,
- null);
+ d);
}
}
--
cgit v1.1