mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Get rid of issue where removing NPCs would through an exception by routing close through Scene.IncomingCloseAgent() and NPCAvatar.Close() rather than directly to Scene.RemoveClient().
This exception was actually harmless since it occurred at the very last stage of the remove client process.
This commit is contained in:
@@ -385,7 +385,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove",
|
||||
agentID, av.Name);
|
||||
*/
|
||||
scene.RemoveClient(agentID, false);
|
||||
|
||||
scene.IncomingCloseAgent(agentID, false);
|
||||
// scene.RemoveClient(agentID, false);
|
||||
m_avatars.Remove(agentID);
|
||||
/*
|
||||
m_log.DebugFormat("[NPC MODULE]: Removed NPC {0} {1}",
|
||||
|
||||
Reference in New Issue
Block a user