Fixes a case where neighboring region info cannot be obtained
and the region server tries to output the region information using the unobtainable RegionInfo. Caused a crash in GS1GridServices.cs, line 9280.6.0-stable
parent
dde21314e7
commit
6717839d65
|
@ -925,9 +925,12 @@ namespace OpenSim.Region.Communications.OGS1
|
||||||
{
|
{
|
||||||
NoteDeadRegion(regionHandle);
|
NoteDeadRegion(regionHandle);
|
||||||
|
|
||||||
|
if(regInfo != null)
|
||||||
|
{
|
||||||
m_log.WarnFormat(
|
m_log.WarnFormat(
|
||||||
"[OGS1 GRID SERVICES]: Remoting Error: Unable to connect to adjacent region: {0} {1},{2}",
|
"[OGS1 GRID SERVICES]: Remoting Error: Unable to connect to adjacent region: {0} {1},{2}",
|
||||||
regInfo.RegionName, regInfo.RegionLocX, regInfo.RegionLocY);
|
regInfo.RegionName, regInfo.RegionLocX, regInfo.RegionLocY);
|
||||||
|
}
|
||||||
m_log.DebugFormat("[OGS1 GRID SERVICES]: {0} {1}", e.Source, e.Message);
|
m_log.DebugFormat("[OGS1 GRID SERVICES]: {0} {1}", e.Source, e.Message);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue