mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
If an agent is logging in, rather than teleporting, make sure all known
circuits for that agent are closed.
This commit is contained in:
@@ -139,6 +139,14 @@ namespace OpenSim.Region.CoreModules.Framework
|
||||
{
|
||||
Caps oldCaps = m_capsObjects[circuitCode];
|
||||
|
||||
// Remove tge handlers. They may conflict with the
|
||||
// new object created below
|
||||
oldCaps.DeregisterHandlers();
|
||||
|
||||
// Better safe ... should not be needed but also
|
||||
// no big deal
|
||||
m_capsObjects.Remove(circuitCode);
|
||||
|
||||
// if (capsObjectPath == oldCaps.CapsObjectPath)
|
||||
// {
|
||||
// m_log.WarnFormat(
|
||||
|
||||
Reference in New Issue
Block a user