Mantis#1894. Thank you kindly, HomerHorwitz for a patch that:

When a region is re-registered (e.g. because of region restart), 
it is removed from m_regions. If I understood that correctly, 
the old entry should be replaced, instead.
0.6.0-stable
Charles Krinke 2008-08-07 15:21:50 +00:00
parent e8293801c5
commit 6b7fb1712c
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,8 @@ namespace OpenSim.Region.Communications.Local
else
{
// Already in our list, so the region went dead and restarted.
m_regions.Remove(regionInfo.RegionHandle);
// replace the old regioninfo
m_regions[regionInfo.RegionHandle] = regionInfo;
m_log.Warn("[INTERREGION STANDALONE]: Region registered twice. Region went down and came back up.");
RegionCommsListener regionHost = new RegionCommsListener();