aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorTeravus Ovares2008-11-28 19:44:44 +0000
committerTeravus Ovares2008-11-28 19:44:44 +0000
commit414bf2aaf1965d354927b7b2ebf57fcef1544d88 (patch)
tree83426c5ae84386e4fe07c91b48f766a2c2401fb2 /OpenSim/Region/Application
parent* test: Add a wodge of code in order to be able to slightly extend a test to ... (diff)
downloadopensim-SC_OLD-414bf2aaf1965d354927b7b2ebf57fcef1544d88.zip
opensim-SC_OLD-414bf2aaf1965d354927b7b2ebf57fcef1544d88.tar.gz
opensim-SC_OLD-414bf2aaf1965d354927b7b2ebf57fcef1544d88.tar.bz2
opensim-SC_OLD-414bf2aaf1965d354927b7b2ebf57fcef1544d88.tar.xz
* The equals override of 'Location' is not working as expected. This caused sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port".
* This is a high profile candidate for a unit test. (big)
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index f7ffa00..75bdcf3 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -484,6 +484,8 @@ namespace OpenSim
484 484
485 for (int i = 0; i < m_clientServers.Count; i++) 485 for (int i = 0; i < m_clientServers.Count; i++)
486 { 486 {
487 //--> Melanie, the following needs to be fixed
488 // the Equals override is not returning true if the locations are actually equal
487 if (m_clientServers[i].HandlesRegion(new Location(whichRegion.RegionHandle))) 489 if (m_clientServers[i].HandlesRegion(new Location(whichRegion.RegionHandle)))
488 { 490 {
489 clientServerElement = i; 491 clientServerElement = i;