diff options
author | Melanie Thielker | 2014-09-23 21:53:09 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-09-23 21:53:09 +0200 |
commit | 309cfeff88e9b348c9170ecd1818df68a1835681 (patch) | |
tree | b2aef9d2b85cdf905821839d11a28228edbe1bdf /OpenSim/Region/CoreModules | |
parent | Merge branch 'ubitworkmaster' (diff) | |
download | opensim-SC-309cfeff88e9b348c9170ecd1818df68a1835681.zip opensim-SC-309cfeff88e9b348c9170ecd1818df68a1835681.tar.gz opensim-SC-309cfeff88e9b348c9170ecd1818df68a1835681.tar.bz2 opensim-SC-309cfeff88e9b348c9170ecd1818df68a1835681.tar.xz |
If an agent is logging in, rather than teleporting, make sure all known
circuits for that agent are closed.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs b/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs index 8aceaa1..88447f3 100644 --- a/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs | |||
@@ -139,6 +139,14 @@ namespace OpenSim.Region.CoreModules.Framework | |||
139 | { | 139 | { |
140 | Caps oldCaps = m_capsObjects[circuitCode]; | 140 | Caps oldCaps = m_capsObjects[circuitCode]; |
141 | 141 | ||
142 | // Remove tge handlers. They may conflict with the | ||
143 | // new object created below | ||
144 | oldCaps.DeregisterHandlers(); | ||
145 | |||
146 | // Better safe ... should not be needed but also | ||
147 | // no big deal | ||
148 | m_capsObjects.Remove(circuitCode); | ||
149 | |||
142 | // if (capsObjectPath == oldCaps.CapsObjectPath) | 150 | // if (capsObjectPath == oldCaps.CapsObjectPath) |
143 | // { | 151 | // { |
144 | // m_log.WarnFormat( | 152 | // m_log.WarnFormat( |