From f65808ab07e708cbbc9c970f9a97ef691bb91bdb Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 17 Jul 2007 23:47:45 +0000 Subject: * More LSL changes (and fixing a compile warning) * More attempted fixes for the phantom remoting bug. --- OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Communications') diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index ce46043..a859826 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs @@ -444,10 +444,17 @@ namespace OpenSim.Region.Communications.OGS1 /// public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) { - if (this.listeners.ContainsKey(regionHandle)) + try { - this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); - return true; + if (this.listeners.ContainsKey(regionHandle)) + { + this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); + return true; + } + } + catch (System.Runtime.Remoting.RemotingException e) + { + MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString()); } return false; } -- cgit v1.1